diff --git a/src/class/DataSync.ts b/src/class/DataSync.ts index 38748c3..f0645b2 100644 --- a/src/class/DataSync.ts +++ b/src/class/DataSync.ts @@ -65,6 +65,9 @@ export const queryFromDistributor = async (type: DataType, queryParameters: any) 'Content-Type': 'application/json', }, timeout: 30000, + transformResponse: (res) => { + return StringUtils.safeJsonParse(res) + }, }) return response } catch (e) {