1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 04:20:05 +00:00

fix: makeRequest incositent response structure

This commit is contained in:
Mihajlo Medjedovic
2020-08-10 17:05:10 +02:00
parent f5e1907e28
commit a5c725e677
2 changed files with 18 additions and 5 deletions

View File

@@ -55,7 +55,8 @@ export async function makeRequest<T>(
);
retryCount = 0;
return retryResponse;
etag = retryResponse.etag;
return retryResponse.result;
} else {
retryCount = 0;
@@ -89,7 +90,8 @@ export async function makeRequest<T>(
);
retryCount = 0;
return retryResponse;
etag = retryResponse.etag;
return retryResponse.result;
} else {
retryCount = 0;