From c9df82fefd6369f8389c4fe02185baddc0533aec Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 26 Feb 2025 13:03:43 +0200 Subject: [PATCH] docs: fix small typo (#11616) --- .../book/app/learn/fundamentals/api-routes/middlewares/page.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/apps/book/app/learn/fundamentals/api-routes/middlewares/page.mdx b/www/apps/book/app/learn/fundamentals/api-routes/middlewares/page.mdx index 5952e8a044..7d69c2eb4e 100644 --- a/www/apps/book/app/learn/fundamentals/api-routes/middlewares/page.mdx +++ b/www/apps/book/app/learn/fundamentals/api-routes/middlewares/page.mdx @@ -222,4 +222,4 @@ In general, avoid adding trailing backslashes when sending requests to API route The Medusa application registers your middlewares first, then registers middlewares defined in Medusa's core. -So, if you add a middleware for a route defined in the core, it might get overridden by the core middleware. For example, if you add a middleware to change authentication of admin wrotes, the authentication middleware defined in the core will still run, leading to your middleware not being effective. +So, if you add a middleware for a route defined in the core, it might get overridden by the core middleware. For example, if you add a middleware to change authentication of admin routes, the authentication middleware defined in the core will still run, leading to your middleware not being effective.