docs: general updates after 2.5.0 update (#11402)
This commit is contained in:
1 parent
ca486aa7ed
commit
5cb44d364d
17 files changed
+11576
-11565
No files matched your search
@@ -524,6 +524,9 @@ Since the `createRestockSubscriptionStep` creates a restock subscription, you'll
|
||||
export const createOrGetRestockSubscriptionsStep = createStep(
|
||||
// ...
|
||||
async (restockSubscription, { container }) => {
|
||||
if (!restockSubscription) {
|
||||
return
|
||||
}
|
||||
const restockModuleService: RestockModuleService = container.resolve(
|
||||
RESTOCK_MODULE
|
||||
)
|
||||
@@ -576,6 +579,9 @@ export const updateRestockSubscriptionStep = createStep(
|
||||
return new StepResponse(restockSubscription, oldData)
|
||||
},
|
||||
async (restockSubscription, { container }) => {
|
||||
if (!restockSubscription) {
|
||||
return
|
||||
}
|
||||
const restockModuleService: RestockModuleService = container.resolve(
|
||||
RESTOCK_MODULE
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user