Skip to content

Commit

Permalink
fix: replace notification template id with workflow trigger identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
jainpawan21 committed Mar 28, 2024
1 parent efbb121 commit dad8a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickstarts/nodejs.mdx
Expand Up @@ -199,7 +199,7 @@ To trigger a notification to all subscribers of a topic, use Novu's API as follo

```jsx
const topicKey = '<TOPIC_KEY>';
const notificationTemplateId = '<NOTIFICATION_TEMPLATE_ID>';
const notificationTemplateId = '<WORKFLOW_TRIGGER_IDENTIFIER>';

await novu.trigger(notificationTemplateId, {
to: [{ type: 'Topic', topicKey: topicKey }],
Expand Down

0 comments on commit dad8a63

Please sign in to comment.