Skip to content

Commit

Permalink
Fixed Syntax issue in create-subscriber method
Browse files Browse the repository at this point in the history
  • Loading branch information
codingis4noobs2 authored Oct 30, 2023
1 parent 06843bf commit 395f4df
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 395f4df

Please sign in to comment.