docs: fix incorrect path (#11435)

This commit is contained in:
Ishrath Inaam
2025-02-13 12:44:27 +05:30
committed by GitHub
parent b24af3ad9a
commit 63229d1897

View File

@@ -276,9 +276,9 @@ You'll next execute the workflow in the hook handler.
You can now consume the `productsCreated` hook, which is executed in the `createProductsWorkflow` after the product is created.
To consume the hook, create the file `src/workflow/hooks/product-created.ts` with the following content:
To consume the hook, create the file `src/workflows/hooks/product-created.ts` with the following content:
```ts title="src/workflow/hooks/product-created.ts" collapsibleLines="1-6" expandButtonLabel="Show Imports"
```ts title="src/workflows/hooks/product-created.ts" collapsibleLines="1-6" expandButtonLabel="Show Imports"
import { createProductsWorkflow } from "@medusajs/medusa/core-flows"
import {
createCustomFromProductWorkflow,