From 2343279e7be9c73e6c2d2cd40abf26c6f37a344c Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Wed, 27 Apr 2022 11:35:18 +0200 Subject: [PATCH] add createPendingCreations mutation --- backend/src/seeds/graphql/mutations.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/backend/src/seeds/graphql/mutations.ts b/backend/src/seeds/graphql/mutations.ts index f6022998e..33b863768 100644 --- a/backend/src/seeds/graphql/mutations.ts +++ b/backend/src/seeds/graphql/mutations.ts @@ -106,3 +106,13 @@ export const unDeleteUser = gql` unDeleteUser(userId: $userId) } ` + +export const createPendingCreations = gql` + mutation ($pendingCreations: [CreatePendingCreationArgs!]!) { + createPendingCreations(pendingCreations: $pendingCreations) { + success + successfulCreation + failedCreation + } + } +`