0
Fork 0
mirror of https://github.com/stonith404/pingvin-share.git synced 2025-01-29 01:28:59 -05: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;
}