mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 15:44:45 -04:00
fix username spelling from userName
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
be27686610
commit
40103cb397
23 changed files with 89 additions and 91 deletions
|
@ -52,7 +52,7 @@ export class TokensController {
|
|||
@RequestUser() user: User,
|
||||
): Promise<AuthTokenWithSecretDto> {
|
||||
return await this.authService.createTokenForUser(
|
||||
user.userName,
|
||||
user.username,
|
||||
label,
|
||||
validUntil,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue