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:
parent
783b8c2e91
commit
57cb683c64
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
import { IsString } from "class-validator";
|
import { IsOptional, IsString } from "class-validator";
|
||||||
|
|
||||||
export class SharePasswordDto {
|
export class SharePasswordDto {
|
||||||
@IsString()
|
@IsString()
|
||||||
|
@IsOptional()
|
||||||
password: string;
|
password: string;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue