Skip to content

Commit

Permalink
Merge pull request #1380 from argos-ci/increase-api-limit
Browse files Browse the repository at this point in the history
fix: increase api limit
  • Loading branch information
gregberge authored Sep 18, 2024
2 parents 3c82028 + 13bda74 commit 5bc92d7
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: "1mb" }),
express.json({ limit: "2mb" }),
asyncHandler((req, res, next) => {
const ctx: RequestCtx<ZodOpenApiOperationObject> = {
params: null,
Expand Down

0 comments on commit 5bc92d7

Please sign in to comment.