Skip to content

Commit

Permalink
feat: remove minimum of param string length
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobLinCool committed Feb 25, 2023
1 parent 9091b6f commit 97e68c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/api/send/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const POST: RequestHandler = async ({ request, fetch, platform }) => {
.or(
z.object({
template: z.string().min(1).max(100),
params: z.record(z.string().min(1).max(1_000)).optional(),
params: z.record(z.string().max(1_000)).optional(),
}),
),
})
Expand Down

0 comments on commit 97e68c9

Please sign in to comment.