refactor: run formatter

This commit is contained in:
Elias Schneider
2022-12-05 16:54:15 +01:00
parent 0499548dd3
commit 38f493ac5a
8 changed files with 16 additions and 13 deletions

View File

@@ -1,6 +1,8 @@
import { PickType } from "@nestjs/mapped-types";
import { UserDTO } from "src/user/dto/user.dto";
export class AuthRegisterDTO extends PickType(UserDTO, ["email", "username", "password"] as const) {
}
export class AuthRegisterDTO extends PickType(UserDTO, [
"email",
"username",
"password",
] as const) {}

View File

@@ -5,4 +5,4 @@ import { UserDTO } from "src/user/dto/user.dto";
export class UpdatePasswordDTO extends PickType(UserDTO, ["password"]) {
@IsString()
oldPassword: string;
}
}