Skip to content

Commit

Permalink
Merge pull request novuhq#4709 from codingis4noobs2/next
Browse files Browse the repository at this point in the history
Docs Feedback: js code in create-subscriber method has syntax issues
  • Loading branch information
BiswaViraj authored Oct 30, 2023
2 parents 0a3e6ea + f9d2535 commit 524f18b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,18 @@ import { Novu } from '@novu/node';

const novu = new Novu('<NOVU_API_KEY>');

await novu.subscribers.identify("subscriberId",{
firstName: "Pawan";
lastName: "Jain";
email: "[email protected]";
phone: "+1234567890";
avatar: "https://gravatar.com/avatar/553b157d82ac2880237566d5a644e5fe?s=400&d=robohash&r=x";
locale: "en-US";
await novu.subscribers.identify("subscriberId", {
firstName: "Pawan",
lastName: "Jain",
email: "[email protected]",
phone: "+1234567890",
avatar: "https://gravatar.com/avatar/553b157d82ac2880237566d5a644e5fe?s=400&d=robohash&r=x",
locale: "en-US",
data: {
isDeveloper : true
isDeveloper: true,
customKey: "customValue"
};
})
}
});
```


Expand Down

0 comments on commit 524f18b

Please sign in to comment.