Skip to content

Commit

Permalink
fix: make share password optional
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Dec 5, 2022
1 parent 783b8c2 commit 57cb683
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/share/dto/sharePassword.dto.ts
@@ -1,6 +1,7 @@
import { IsString } from "class-validator";
import { IsOptional, IsString } from "class-validator";

export class SharePasswordDto {
@IsString()
@IsOptional()
password: string;
}

0 comments on commit 57cb683

Please sign in to comment.