Skip to content

Commit

Permalink
Remove baseURL from REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
rap1ds committed Apr 17, 2019
1 parent d271f09 commit 9c0d71b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions docs/try-it-in-command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,11 @@ Set your clientId:
const clientId = "<your clientId here>";
```

Set your baseUrl:

```js
const baseUrl = "<your baseUrl here>";
```

Create new SDK instance:

```js
const sdk = sharetribeSdk.createInstance({
clientId,
baseUrl,
tokenStore: sharetribeSdk.tokenStore.memoryStore()
});
```
Expand Down
2 changes: 0 additions & 2 deletions repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ console.log(' Create new SDK instance:');
console.log(' ');
console.log(' ```'.block);
console.log(' const clientId = "<your clientId here>";'.block);
console.log(' const baseUrl = "<your baseUrl here>";'.block);
console.log(' const sdk = sharetribeSdk.createInstance({'.block);
console.log(' clientId,'.block);
console.log(' baseUrl,'.block);
console.log(' tokenStore: sharetribeSdk.tokenStore.memoryStore()'.block);
console.log(' });'.block);
console.log(' ```'.block);
Expand Down

0 comments on commit 9c0d71b

Please sign in to comment.