Skip to content

Commit 0799c00

Browse files
committed
Update image dto
1 parent a7e7067 commit 0799c00

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/shared-types/src/ImageDto.ts

-8
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,5 @@ import { IsBase64, IsEmpty, IsOptional, isBase64 } from "class-validator";
22

33
export class ImageDto {
44
hasImage: boolean;
5-
6-
@IsOptional()
7-
@IsBase64()
8-
base64?: string;
9-
10-
// don't allow for sending url from frontend
11-
@IsOptional()
12-
@IsEmpty()
135
url?: string;
146
}

0 commit comments

Comments
 (0)