fix: changed return type of deleteUserEnvironment mutation to boolean in user-environments resolver
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user