prettyfy api response

This commit is contained in:
Jonathan Barrow 2022-06-08 16:19:44 -04:00
parent 89029e61db
commit 2a14ff688c
3 changed files with 1040 additions and 707 deletions

1743
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -34,7 +34,7 @@
"fs-extra": "^8.1.0",
"got": "^11.8.2",
"hcaptcha": "^0.1.0",
"image-pixels": "^2.2.2",
"image-pixels": "^1.1.1",
"kaitai-struct": "^0.9.0",
"moment": "^2.24.0",
"moment-timezone": "^0.5.27",

View File

@ -56,7 +56,7 @@ router.post('/access_token/generate', async (request, response) => {
code: '0106',
message: 'Invalid account ID or password'
}
}).end());
}).end({ pretty: true }));
}
if (pnid.get('access_level') < 0) {