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