Skip to content

Commit

Permalink
Merge pull request #87 from LocalMingle/jonghwa
Browse files Browse the repository at this point in the history
Jonghwa into main dev와 비교 변경사항 없음
  • Loading branch information
kimjonghwa230412 authored Oct 24, 2023
2 parents 5cc0c75 + 00ce88e commit 76433c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/events/dto/create-event.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class CreateEventDto {
signupEndDate: Date;

@ApiProperty({
example: "서울특별시"
example: '서울특별시',
})
@IsString()
eventLocation: string;
Expand All @@ -46,7 +46,7 @@ export class CreateEventDto {
content: string;

@ApiProperty({
example: "산책"
example: '산책',
})
@IsString()
category: string;
Expand All @@ -60,8 +60,8 @@ export class CreateEventDto {
@IsString()
isVerified?: string;

@ApiProperty({required: false, default: null})
@ApiProperty({ required: false, default: null })
@IsOptional()
@IsString()
eventImg: string
eventImg: string;
}
8 changes: 4 additions & 4 deletions src/events/dto/update-event.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class UpdateEventDto {
@IsOptional()
signupEndDate?: Date;

@ApiProperty({ required: false, example: "경기도" })
@ApiProperty({ required: false, example: '경기도' })
@IsString()
@IsOptional()
eventLocation?: string;
Expand All @@ -40,18 +40,18 @@ export class UpdateEventDto {
@IsOptional()
content?: string;

@ApiProperty({ required: false, example: "산책" })
@ApiProperty({ required: false, example: '산책' })
@IsString()
@IsOptional()
category?: string;

@ApiProperty({ required: false, default: "no" })
@ApiProperty({ required: false, default: '🙋‍♀️아무나' })
@IsOptional()
@IsString()
isVerified?: string;

@ApiProperty()
@IsOptional()
@IsString()
eventImg?: string
eventImg?: string;
}

0 comments on commit 76433c4

Please sign in to comment.