Skip to content

Commit

Permalink
Merge pull request #369 from saleor/remove-content-limit
Browse files Browse the repository at this point in the history
Remove content limit
  • Loading branch information
andrzejewsky authored Sep 11, 2024
2 parents b70eb57 + ac4e4a2 commit e4c38ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strong-rivers-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@saleor/app-sdk": patch
---

Now, the fixed body size limit was removed, this means there is no restriction for size of the webhook payload, sent by Saleor.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ export const processSaleorWebhook: ProcessSaleorWebhook = async <T>({
const rawBody = (
await getRawBody(req, {
length: req.headers["content-length"],
limit: "1mb",
})
).toString();
if (!rawBody) {
Expand Down

0 comments on commit e4c38ef

Please sign in to comment.