Files
medusa-store/packages
Kasper Fabricius Kristensen 52800710a2 fix(medusa): Error handling middleware should be applied when no config is exported (#5634)
**What**
- Fixes an issue where the default errorHandler middleware was not applied if the user did not have a `middlewares.ts` file.
- Updates the type of `MiddlewaresConfig` so `middlewares` is now optional, as people might want to only set a bodyParser config for a matcher and not provide any additional middleware.
2023-11-14 20:48:10 +00:00
..
2023-11-10 10:28:21 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:28:21 +01:00