1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-06-30 06:30:11 +02:00

fix: make share password optional

This commit is contained in:
Elias Schneider 2022-12-05 23:58:18 +01:00
parent 783b8c2e91
commit 57cb683c64

View File

@ -1,6 +1,7 @@
import { IsString } from "class-validator";
import { IsOptional, IsString } from "class-validator";
export class SharePasswordDto {
@IsString()
@IsOptional()
password: string;
}