feat(core-flows,medusa): add endpoint to add/remove fulfillment providers to location (#8299)
what: - add endpoint to add/remove fulfillment providers to location - specs cleanup from previous PR RESOLVES CC-259
This commit is contained in:
@@ -6,7 +6,7 @@ export const updateRemoteLinksStepId = "update-remote-links-step"
|
||||
export const updateRemoteLinksStep = createStep(
|
||||
updateRemoteLinksStepId,
|
||||
async (data: LinkDefinition[], { container }) => {
|
||||
if (!data.length) {
|
||||
if (!data?.length) {
|
||||
return new StepResponse([], [])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user