Skip to content

Commit

Permalink
feat(sdk-r4): update readme and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
GenaRazmakhnin committed Feb 2, 2024
1 parent ececf1a commit cd474a4
Show file tree
Hide file tree
Showing 335 changed files with 22,870 additions and 4,295 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,11 @@ Aidbox subscription is a way to subscribe and get notifications about updating r
our [subscription sample](https://github.com/Aidbox/aidbox-sdk-js/tree/main/subscription-sample) for more details.

```javascript
await client.createSubscription({
await client.subsSubscription.create({
id: 'patient-created',
status: 'active',
trigger: { Patient: { event: ['create'] } },
channel: { endpoint: `${process.env.NODE_APP_URL}/patient-created` },
channel: { endpoint: 'https://aidbox/patient-created' },
});
```

Expand Down
Loading

0 comments on commit cd474a4

Please sign in to comment.