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 authored and GitHub committed 2025-12-22 08:51:01 +00:00
1 parent e07f22c4eb
commit 6380c1fdf4
2 files changed
+7 -2

No files matched your search

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