Skip to content

Commit

Permalink
Merge branch 'login-page' of https://github.com/Dmutre/task-manager i…
Browse files Browse the repository at this point in the history
…nto login-page
  • Loading branch information
Kabadzh0b committed May 27, 2024
2 parents e6d0567 + b0619d0 commit 32a6219
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/src/api/auth/dto/email.dto.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { ApiProperty } from '@nestjs/swagger';
import { IsEmail, IsString } from 'class-validator';

export class EmailDTO {
@ApiProperty({ description: 'User email' })
@IsString()
@IsEmail()
email: string;
}

0 comments on commit 32a6219

Please sign in to comment.