Closed amaster507 closed 1 month ago
Also,
In the Medusa application's logs, you'll find the message
Linked brand to products
, indicating that the workflow hook handler ran and linked the brand to the products.
This log did not happen for me. I believe to get this log, you will need to add a console log in the scripts you wrote, or maybe increase logging level, but default logging level does not log this line in v2
Nice catch! Will open a PR to fix those, seems like the code snippet is missing a logging statement as well.
What Medusa version and documentation are you using?
v2
Preliminary Checks
Issue Summary
URL: https://docs.medusajs.com/v2/customization/extend-models/extend-create-product#2-link-brand-to-product-using-workflow-hook
missing the imports:
And line
19
const remoteLink = ...
is indented inconsistentlyHow can this issue be resolved?
Are you interested in working on this issue?