Skip to content

Commit

Permalink
fix: increase api limit
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 authored Oct 3, 2024
1 parent a1348ac commit 2d4cc42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/api/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function handler<TMethod extends "get" | "post" | "put">(
convertPath(path),
// Temporary increase the limit
// we should find a way to split the upload in several requests
express.json({ limit: "2mb" }),
express.json({ limit: "3mb" }),
asyncHandler((req, res, next) => {
const ctx: RequestCtx<ZodOpenApiOperationObject> = {
params: null,
Expand Down

0 comments on commit 2d4cc42

Please sign in to comment.