mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-17 12:33:22 +00:00
add /auth/patch endpoint
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user