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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user