Skip to content

Commit 5ee921d

Browse files
author
Yasunori
authored
fix: indents in sample code (#3674)
1 parent 9cf5b66 commit 5ee921d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: docs/helpers/REST.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ Type: [object][4]
4141
endpoint: 'http://site.com/api',
4242
prettyPrintJson: true,
4343
onRequest: (request) => {
44-
request.headers.auth = '123';
44+
request.headers.auth = '123';
45+
}
4546
}
4647
}
4748
}

Diff for: lib/helper/REST.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ const config = {};
3434
* endpoint: 'http://site.com/api',
3535
* prettyPrintJson: true,
3636
* onRequest: (request) => {
37-
* request.headers.auth = '123';
37+
* request.headers.auth = '123';
38+
* }
3839
* }
3940
* }
4041
*}

0 commit comments

Comments
 (0)