Skip to content

Commit cd474a4

Browse files
feat(sdk-r4): update readme and publish
1 parent ececf1a commit cd474a4

File tree

335 files changed

+22870
-4295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

335 files changed

+22870
-4295
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,11 @@ Aidbox subscription is a way to subscribe and get notifications about updating r
255255
our [subscription sample](https://github.com/Aidbox/aidbox-sdk-js/tree/main/subscription-sample) for more details.
256256

257257
```javascript
258-
await client.createSubscription({
258+
await client.subsSubscription.create({
259259
id: 'patient-created',
260260
status: 'active',
261261
trigger: { Patient: { event: ['create'] } },
262-
channel: { endpoint: `${process.env.NODE_APP_URL}/patient-created` },
262+
channel: { endpoint: 'https://aidbox/patient-created' },
263263
});
264264
```
265265

0 commit comments

Comments
 (0)