1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-12 06:40:06 +00:00

test(RequestClient): fix error handling

This commit is contained in:
Yury Shkoda
2021-12-21 11:40:59 +03:00
parent 2ebd6e11ba
commit 4197ad5aa8
3 changed files with 21 additions and 7 deletions

View File

@@ -18,6 +18,7 @@ app.get('/', function (req: any, res: any) {
app.post('/SASLogon/oauth/token', function (req: any, res: any) {
let valid = true
// capture the encoded form data
req.on('data', (data: any) => {
const resData = data.toString()