chore: Cleanup manager decorator usage (#9181)
This commit is contained in:
committed by
GitHub
parent
adbeb9cc1d
commit
81d3ae01c7
@@ -13,6 +13,8 @@ export function InjectManager(managerProperty?: string): MethodDecorator {
|
||||
)
|
||||
}
|
||||
|
||||
managerProperty ??= "baseRepository_"
|
||||
|
||||
const originalMethod = descriptor.value
|
||||
const argIndex = target.MedusaContextIndex_[propertyKey]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user