fix: Shipping profile deletion with options (#8910)
* fix(fulfillment): Prevent deletion of profiles associated to options * add tests * typo * address feedback
This commit is contained in:
committed by
GitHub
parent
dea5af085a
commit
3da01035f3
@@ -29,7 +29,7 @@ export function InjectTransactionManager(
|
||||
: () => false
|
||||
managerProperty = isString(shouldForceTransactionOrManagerProperty)
|
||||
? shouldForceTransactionOrManagerProperty
|
||||
: managerProperty
|
||||
: managerProperty ?? "baseRepository_"
|
||||
|
||||
const argIndex = target.MedusaContextIndex_[propertyKey]
|
||||
descriptor.value = async function (...args: any[]) {
|
||||
|
||||
Reference in New Issue
Block a user