Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
chore: raise upload limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmalonzo committed Jul 25, 2024
1 parent e2265c9 commit cd36da6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ app.use((req, res, next) => {
if (req.path === '/webhook') {
express.raw({ type: 'application/json' })(req, res, next);
} else {
express.json({ limit: '2MB' })(req, res, next);
express.json({ limit: '5MB' })(req, res, next);
}
});

Expand Down
1 change: 1 addition & 0 deletions backend/app/repositories/mongodb/SneakerRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export class SneakerRepository {
sizeName: '$variants.sizes.name',
sizeSlug: '$variants.sizes.slug',
sizeStock: '$variants.sizes.stock',
colorSlug: '$variants.colorSlug',
},
},

Expand Down

0 comments on commit cd36da6

Please sign in to comment.