Change login from Query to Mutation.

This commit is contained in:
elweyn 2022-09-22 11:47:28 +02:00
parent c4b4661a5c
commit e844bcc925

View File

@ -265,7 +265,7 @@ export class UserResolver {
}
@Authorized([RIGHTS.LOGIN])
@Query(() => User)
@Mutation(() => User)
@UseMiddleware(klicktippNewsletterStateMiddleware)
async login(
@Args() { email, password, publisherId }: UnsecureLoginArgs,