Skip to content

Commit

Permalink
docs: fix missing hooks property
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Nov 11, 2024
1 parent 6ead7bf commit d5750d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ For example:
```ts title="src/workflows/hooks/product-created.ts"
import { createProductsWorkflow } from "@medusajs/medusa/core-flows"

createProductsWorkflow.productCreated(
createProductsWorkflow.hooks.productCreated(
async ({ productId }, { container }) => {
// TODO perform an action

Expand Down

0 comments on commit d5750d6

Please sign in to comment.