1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

Merge pull request #558 from sasjs/issue-554

fix: viya debug response null due to wrong content-type
This commit is contained in:
Allan Bowe
2021-09-17 15:18:58 +03:00
committed by GitHub

View File

@@ -25,6 +25,6 @@ export const parseSasViyaDebugResponse = async (
}
return requestClient
.get(serverUrl + jsonUrl, undefined)
.get(serverUrl + jsonUrl, undefined, 'text/plain')
.then((res: any) => getValidJson(res.result))
}