fix(medusa): allow passing null to cart API routes (#14381)

Allow passing `null` as the locale for cart API route, as `optional` only allow passing `undefined`.
This commit is contained in:
Shahed Nasser
2025-12-22 10:51:01 +02:00
committed by GitHub
parent e07f22c4eb
commit 6380c1fdf4
2 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---
fix(medusa): allow passing null to cart API routes