Skip to content

Commit 959e47f

Browse files
authored
Merge pull request #381 from PromptPlace/feat/#379
fix: 타입 오류 해결
2 parents 9a70e16 + 1527386 commit 959e47f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/prompts/dtos/delete-prompt-image.dto.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ import { IsInt } from "class-validator";
22

33
export class DeletePromptImageDto {
44
@IsInt()
5-
order_index: number;
5+
order_index!: number;
66
}
7-

src/prompts/dtos/patch-prompt-image.dto.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import { IsInt, IsString, IsUrl } from "class-validator";
33
export class PatchPromptImageDto {
44
@IsString()
55
@IsUrl()
6-
image_url: string;
6+
image_url!: string;
77

88
@IsInt()
9-
order_index: number;
9+
order_index!: number;
1010
}
11-

0 commit comments

Comments
 (0)