Skip to content

Commit

Permalink
Merge pull request #4509 from suravshrestha/docs-patch1
Browse files Browse the repository at this point in the history
docs: fix typo in packages/node/README.md
  • Loading branch information
scopsy authored Oct 15, 2023
2 parents bb779fe + 2e04bcd commit fe13f31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -810,13 +810,13 @@ const novu = new Novu('<NOVU_API_KEY>');
// create a new notification group
await novu.notificationGroups.create("Product Updates")

// update an exisiting notification group
// update an existing notification group
await novu.notificationGroups.update("notificationGroupId", { name: "Changelog Updates"})

// list all notification groups
await novu.notificationGroups.get()

// get one exisiting notification group
// get one existing notification group
await novu.notificationGroups.getOne("notificationGroupId")

// delete an existing notification group
Expand Down Expand Up @@ -964,7 +964,7 @@ import { Novu } from '@novu/node';

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

// get current environmet
// get current environment
await novu.environments.getCurrent()

// create new environment
Expand All @@ -983,7 +983,7 @@ await novu.environments.updateOne("environmentId", {
identifier: "environmentIdentifier" // optional
})

// get api keys of environmet
// get api keys of environment
await novu.environments.getApiKeys()

// regenrate api keys
Expand Down

0 comments on commit fe13f31

Please sign in to comment.