From 09759f85dbeb13e1f83b4e853751014f6d49bc51 Mon Sep 17 00:00:00 2001 From: Pawan Jain Date: Tue, 5 Mar 2024 10:26:01 +0530 Subject: [PATCH 1/4] fix: add go sdk retry info --- quickstarts/go.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quickstarts/go.mdx b/quickstarts/go.mdx index 2f5f36af..ccdf6b4c 100644 --- a/quickstarts/go.mdx +++ b/quickstarts/go.mdx @@ -60,7 +60,9 @@ novuClient := novu.NewAPIClient(apiKey, &novu.Config{RetryConfig: &novu.RetryCon | WaitMax | Specifies the maximum time to wait before retrying | 0 | | InitialDelay | Specifies the initial delay before the first retry attempt | 0 | - + +Above retry configuration is applied to all the sdk methods. + ## Set Up A Channel Provider A channel provider is a service that lets you use one or more notification channels such as sending an email, SMS, push notification etc. Our [integration store](https://web.novu.co/integrations) currently supports four channels: Email, SMS, Chat, and Push. Each of these channels have multiple providers associated with them. From ee3421e17daa955b30216621a9c58e9a848a91b5 Mon Sep 17 00:00:00 2001 From: Pawan Jain Date: Tue, 5 Mar 2024 10:26:35 +0530 Subject: [PATCH 2/4] fix: get current environment sdk method --- api-reference/environments/get-current-environment.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/environments/get-current-environment.mdx b/api-reference/environments/get-current-environment.mdx index ad117920..8de69665 100644 --- a/api-reference/environments/get-current-environment.mdx +++ b/api-reference/environments/get-current-environment.mdx @@ -10,7 +10,7 @@ import { Novu } from '@novu/node'; const novu = new Novu(''); -await novu.environmets.getCurrent(); +await novu.environments.getCurrent(); ``` ```php PHP From 082ea067e438efb2bda598a54e85c8bf18f576a2 Mon Sep 17 00:00:00 2001 From: Pawan Jain Date: Tue, 5 Mar 2024 10:27:23 +0530 Subject: [PATCH 3/4] feat: add get all environment sdk method --- api-reference/environments/get-environments.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api-reference/environments/get-environments.mdx b/api-reference/environments/get-environments.mdx index 512c6be6..10c0d7bb 100644 --- a/api-reference/environments/get-environments.mdx +++ b/api-reference/environments/get-environments.mdx @@ -5,6 +5,13 @@ openapi: get /v1/environments +```javascript Node.js +import { Novu } from '@novu/node'; + +const novu = new Novu(''); + +await novu.environments.getAll(); +``` ```php PHP use Novu\SDK\Novu; From d4ba41e1e80cc1c3dc19adc6f2dc3f863d466a5a Mon Sep 17 00:00:00 2001 From: Pawan Jain Date: Tue, 5 Mar 2024 10:31:52 +0530 Subject: [PATCH 4/4] fix: add organizations link --- help/account-management.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help/account-management.mdx b/help/account-management.mdx index 7851f075..3bb0eeaa 100644 --- a/help/account-management.mdx +++ b/help/account-management.mdx @@ -26,7 +26,7 @@ If you have created an account using Github, and you change your email in Github ### How to create new organization? -A new organization can be created by writing something in the dropdown in the left bottom corner of the dashboard. As soon you start writing something, an add option will apear. This dropdown can also be used to switch between organizations. One organization's data is not visible to other organization members. +A new organization can be created by writing something in the dropdown in the left bottom corner of the dashboard. As soon you start writing something, an add option will apear. This dropdown can also be used to switch between [organizations](/getting-started/concepts#organization). One organization's data is not visible to other organization members. ### How to change organization name? We are working on account management feature currently so this option is not available in UI as of now. If you want to change your current organization name, [rename organization api](/api-reference/organizations/rename-organization) can be used. if you face any issue in using api or need any help any changing the organization name, please reach out to us at support@novu.co.