Closed oakbani closed 1 year ago
There are multiple issues with the tenant code resolver as given in the multi tenancy config docs in medusa extender.
Tenant Code Resolver is not a function
Even tried with exactly how you have used in your unit test. multi_tenancy: { enable: true, tenant_code_resolver: (req) => req.headers['x-tenant'],
multi_tenancy: { enable: true, tenant_code_resolver: (req) => req.headers['x-tenant'],
Thanks for the reporting, it should be fixed by https://github.com/adrien2p/medusa-extender/pull/169
Fixed in the next release. I ll be away fir a week
Thanks man!
There are multiple issues with the tenant code resolver as given in the multi tenancy config docs in medusa extender.
Even tried with exactly how you have used in your unit test.
multi_tenancy: { enable: true, tenant_code_resolver: (req) => req.headers['x-tenant'],