mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
corrected return type
This commit is contained in:
parent
b14911d314
commit
feeeca9fe4
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user