corrected return type

This commit is contained in:
Ulf Gebhardt 2023-03-09 11:05:41 +01:00
parent b14911d314
commit feeeca9fe4
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -185,7 +185,7 @@ export class UserResolver {
} }
@Authorized([RIGHTS.LOGOUT]) @Authorized([RIGHTS.LOGOUT])
@Mutation(() => String) @Mutation(() => Boolean)
async logout(@Ctx() context: Context): Promise<boolean> { async logout(@Ctx() context: Context): Promise<boolean> {
await EVENT_LOGOUT(getUser(context)) await EVENT_LOGOUT(getUser(context))
// remove user from logger context // remove user from logger context