mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-08 02:15:02 -04:00
refactor: merge AuthTokenDTOs into one file
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
de952fe3b2
commit
5eab4f42d6
5 changed files with 11 additions and 18 deletions
|
@ -28,3 +28,8 @@ export class AuthTokenDto extends BaseDto {
|
|||
@IsOptional()
|
||||
lastUsedAt: Date | null;
|
||||
}
|
||||
|
||||
export class AuthTokenWithSecretDto extends AuthTokenDto {
|
||||
@IsString()
|
||||
secret: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue