Skip to content

Commit e266dc7

Browse files
committed
prettify
1 parent 6294e6a commit e266dc7

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -172,18 +172,18 @@ Sheri(endpoint, options).then(r => console.log(r)) // Returns the response
172172

173173
Additionally, each module allows you to pass in API options to customise your experience a tad more.
174174
```javascript
175-
var options = {
176-
// Allows you to pass in a token through the authorization header
177-
token: "OGhZVFNVRms6OGhZVFNVRms=",
178-
// The exact same as `token`
179-
auth,
180-
// Use your own custom user agent. User agent will always default to your Node.js version and OS name if no agent is provided
181-
agent: 'My Progamme, contact@example.com',
182-
// Allows you to apply your own axios options whenever axios is used.
183-
axiosOptions: {
184-
// Sets a specific amount of time in milliseconds that axios will wait until the requested server responds.
185-
timeout: 1000
186-
// You can find other axios options at https://github.com/axios/axios#request-config
187-
}
175+
var options = {
176+
// Allows you to pass in a token through the authorization header
177+
token: "OGhZVFNVRms6OGhZVFNVRms=",
178+
// The exact same as `token`
179+
auth,
180+
// Use your own custom user agent. User agent will always default to your Node.js version and OS name if no agent is provided
181+
agent: 'My Progamme, contact@example.com',
182+
// Allows you to apply your own axios options whenever axios is used.
183+
axiosOptions: {
184+
// Sets a specific amount of time in milliseconds that axios will wait until the requested server responds.
185+
timeout: 1000
186+
// You can find other axios options at https://github.com/axios/axios#request-config
188187
}
188+
}
189189
```

0 commit comments

Comments
 (0)