Skip to content

Commit

Permalink
Fix wrong import in. Update expo-push.mdx.
Browse files Browse the repository at this point in the history
ChatProviderIdEnum was wrongly imported in place of PushProviderIdEnum
  • Loading branch information
AngelofPc committed Feb 25, 2024
1 parent d9e4d6b commit f3aa2a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions channels-and-providers/push/expo-push.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ Before triggering the notification to a subscriber(user) with push as a step in
<Tab title="Node.js">
```javaScript
import {
Novu,
ChatProviderIdEnum
Novu,PushProviderIdEnum
} from '@novu/node';

const novu = new Novu("<NOVU_API_KEY>");
Expand All @@ -56,4 +55,4 @@ curl -L -X PUT 'https://api.novu.co/v1/subscribers/<SUBSCRIBER_ID>/credentials'
</Tab>
</Tabs>

Checkout the [API reference](/api-reference/subscribers/update-subscriber-credentials) for more details.
Checkout the [API reference](/api-reference/subscribers/update-subscriber-credentials) for more details.

0 comments on commit f3aa2a1

Please sign in to comment.