@labdigital/commercetools-mock 2.50.0 → 2.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/ctMock.ts +2 -1
package/package.json
CHANGED
package/src/ctMock.ts
CHANGED
|
@@ -138,7 +138,8 @@ export class CommercetoolsMock {
|
|
|
138
138
|
this._oauth2.setCustomerRepository(this._repositories.customer);
|
|
139
139
|
|
|
140
140
|
const app = express();
|
|
141
|
-
|
|
141
|
+
// Set limit to 16mb, this is the maximum size allowed by the commercetools API: https://docs.commercetools.com/api/limits
|
|
142
|
+
app.use(express.json({ limit: "16mb" }));
|
|
142
143
|
|
|
143
144
|
const projectRouter = express.Router({ mergeParams: true });
|
|
144
145
|
|