From e3e7aa3e81e7d08a516ad1d4f3399de6f6214f98 Mon Sep 17 00:00:00 2001 From: Yasu Date: Fri, 2 Jun 2023 22:58:05 +0900 Subject: [PATCH] fix: indents in sample code --- docs/helpers/REST.md | 3 ++- lib/helper/REST.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/helpers/REST.md b/docs/helpers/REST.md index 008251385..05019167e 100644 --- a/docs/helpers/REST.md +++ b/docs/helpers/REST.md @@ -41,7 +41,8 @@ Type: [object][4] endpoint: 'http://site.com/api', prettyPrintJson: true, onRequest: (request) => { - request.headers.auth = '123'; + request.headers.auth = '123'; + } } } } diff --git a/lib/helper/REST.js b/lib/helper/REST.js index 111d3763b..182f948c9 100644 --- a/lib/helper/REST.js +++ b/lib/helper/REST.js @@ -34,7 +34,8 @@ const config = {}; * endpoint: 'http://site.com/api', * prettyPrintJson: true, * onRequest: (request) => { - * request.headers.auth = '123'; + * request.headers.auth = '123'; + * } * } * } *}