mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-07-02 07:20:38 +02:00
fix: make share password optional
This commit is contained in:
parent
783b8c2e91
commit
57cb683c64
|
@ -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…
Reference in New Issue
Block a user