Skip to content

Commit

Permalink
fix: indents in sample code (#3674)
Browse files Browse the repository at this point in the history
  • Loading branch information
mahata committed Jun 3, 2023
1 parent 9cf5b66 commit 5ee921d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/helpers/REST.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ Type: [object][4]
endpoint: 'http://site.com/api',
prettyPrintJson: true,
onRequest: (request) => {
request.headers.auth = '123';
request.headers.auth = '123';
}
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion lib/helper/REST.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ const config = {};
* endpoint: 'http://site.com/api',
* prettyPrintJson: true,
* onRequest: (request) => {
* request.headers.auth = '123';
* request.headers.auth = '123';
* }
* }
* }
*}
Expand Down

0 comments on commit 5ee921d

Please sign in to comment.