fix: register locking provider with its unique id (#11874)
This commit is contained in:
5
.changeset/hot-dolls-promise.md
Normal file
5
.changeset/hot-dolls-promise.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/locking": patch
|
||||
---
|
||||
|
||||
fix: register locking provider with its unique id
|
||||
@@ -30,7 +30,7 @@ const registrationFn = async (klass, container, { id }) => {
|
||||
})
|
||||
|
||||
container.register({
|
||||
[LockingProviderRegistrationPrefix + key]: aliasTo(regKey),
|
||||
[LockingProviderRegistrationPrefix + id]: aliasTo(regKey),
|
||||
})
|
||||
|
||||
container.registerAdd(LockingIdentifiersRegistrationName, asValue(key))
|
||||
|
||||
Reference in New Issue
Block a user