Skip to content

Commit 5bf870b

Browse files
author
Smriti Prakash
committed
fix: awaited recursive createHandle call #6496
Signed-off-by: Smriti Prakash <[email protected]>
1 parent bb1b142 commit 5bf870b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api-plugin-products/src/utils/createHandle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default async function createHandle(context, productHandle, productId, sh
6666
});
6767

6868
if (existingProductWithSameSlug) {
69-
handle = createHandle(context, handle, productId, shopId);
69+
handle = await createHandle(context, handle, productId, shopId);
7070
}
7171

7272
return handle;

0 commit comments

Comments
 (0)