fix: changed return type of deleteUserEnvironment mutation to boolean in user-environments resolver

This commit is contained in:
Balu Babu
2023-01-20 04:26:05 +05:30
parent ca5404a93b
commit 8929b37dbe

View File

@@ -105,7 +105,7 @@ export class UserEnvironmentsResolver {
return userEnvironment.right; return userEnvironment.right;
} }
@Mutation(() => UserEnvironment, { @Mutation(() => Boolean, {
description: 'Deletes a users personal environment', description: 'Deletes a users personal environment',
}) })
@UseGuards(GqlAuthGuard) @UseGuards(GqlAuthGuard)