mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update GQL for bulk actions
This commit is contained in:
parent
819302af2a
commit
35dd48c29e
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ export async function bulkActionMutation(
|
|||
query: string
|
||||
): Promise<boolean> {
|
||||
const mutation = gql`
|
||||
mutation {
|
||||
bulkAction(action: $action, query: $query) {
|
||||
mutation BulkAction($action: BulkActionType!, $query: String!) {
|
||||
bulkAction(query: $query, action: $action) {
|
||||
... on BulkActionSuccess {
|
||||
success
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue