Skip to content

Commit 8fd2f87

Browse files
authored
Update slack.mdx
Fixed Issue: novuhq#238 changed ChatProviderIdEnum. to ChatProviderIdEnum.Slack
1 parent 6527696 commit 8fd2f87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎channels-and-providers/chat/slack.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Create a new endpoint on your server that will handle the following steps (you c
7070
const novu = new Novu("<NOVU_API_KEY>");
7171

7272
const body = req.body; // From your HTTPS listener
73-
await novu.subscribers.setCredentials('subscriberId', ChatProviderIdEnum., {
73+
await novu.subscribers.setCredentials('subscriberId', ChatProviderIdEnum.Slack, {
7474
webhookUrl: body.incoming_webhook.url,
7575
});
7676
```
@@ -115,4 +115,4 @@ In order to enable Hash-Based Message Authentication Codes, you need to do the f
115115

116116
3. Add the newly created hash HMAC to the Sharable URL as a query.
117117

118-
This concludes the Slack provider guide.
118+
This concludes the Slack provider guide.

0 commit comments

Comments
 (0)