Skip to content

Commit 4b77b2a

Browse files
authored
docs: update moltin-request usage example
1 parent efbdc09 commit 4b77b2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ const Moltin = MoltinGateway({
2929
### Moltin JS Request Library
3030

3131
```js
32-
import { createClient } from '@moltin/request'
32+
import { MoltinClient } from '@moltin/request'
3333
import NodeStorageAdapter from '@moltin/node-storage-adapter'
3434

35-
const Moltin = new createClient({
35+
const Moltin = new MoltinClient({
3636
client_id: 'XXX',
3737
storage: new NodeStorageAdapter('./localStorage')
3838
})

0 commit comments

Comments
 (0)