add /auth/patch endpoint

This commit is contained in:
2023-07-17 00:12:17 +02:00
parent 111ca55cbf
commit 8d33fce53d
7 changed files with 120 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import { OmitType } from '@nestjs/swagger'
import { ApiProperty, OmitType } from '@nestjs/swagger'
export class User {
id: string
@@ -6,9 +6,10 @@ export class User {
password: string
isEmailVerified: boolean
name: string
@ApiProperty({ type: 'string', format: 'binary' })
avatar: string
created: string
updated: string
created: Date
updated: Date
}
export class LoginResponse {