From 2836d63f2f8536fa206e21b5ca236f5e5221b15b Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Wed, 27 Apr 2022 09:59:21 +0200 Subject: [PATCH] add unDelete User mutation --- backend/src/seeds/graphql/mutations.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/src/seeds/graphql/mutations.ts b/backend/src/seeds/graphql/mutations.ts index 30c453eea..6ee1bafd0 100644 --- a/backend/src/seeds/graphql/mutations.ts +++ b/backend/src/seeds/graphql/mutations.ts @@ -112,3 +112,9 @@ export const deleteUser = gql` deleteUser(userId: $userId) } ` + +export const unDeleteUser = gql` + mutation ($userId: Int!) { + unDeleteUser(userId: $userId) + } +`