Skip to content

Commit

Permalink
increase snippet limit
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhavArora314 committed May 23, 2024
1 parent bb8f523 commit ffb31d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/routes/post/zodSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import zod from "zod";
export const createPostSchema = zod.object({
title: zod.string().min(3).max(30),
description: zod.string().min(3).max(200),
codeSnippet: zod.string().min(3).max(1000),
codeSnippet: zod.string().min(3).max(5000),
tags: zod.array(zod.string().min(2).max(20)).min(1).max(5),
});

0 comments on commit ffb31d5

Please sign in to comment.