docs: fix incorrect path (#11435)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user