Skip to content

Commit

Permalink
fix: set the minimum byte length for the web app to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbrief committed Oct 26, 2024
1 parent b97201c commit 11becc8
Show file tree
Hide file tree
Showing 4 changed files with 15,669 additions and 12,591 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const formSchema = z.object({
: defaultError,
}),
})
.min(16)
.default(16),
prefix: z
.string()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const formSchema = z.object({
workspaceId: z.string(),
defaultBytes: z
.number()
.min(8, "Byte size needs to be at least 8")
.min(16, "Byte size needs to be at least 16")
.max(255, "Byte size cannot exceed 255")
.optional(),
});
Expand Down
Loading

0 comments on commit 11becc8

Please sign in to comment.