NTP-12177 | Header changes
This commit is contained in:
@@ -212,7 +212,7 @@ async function makeBulkSignedApiRequest(
|
||||
.post(url, payload, {
|
||||
headers: {
|
||||
donotHandleError: true,
|
||||
'X-Doc-Type': payload[0].retryForDocumentsItem,
|
||||
'X-Doc-Type': payload?.[0]?.retryForDocumentsItem || '',
|
||||
},
|
||||
})
|
||||
.then((response) => {
|
||||
|
||||
Reference in New Issue
Block a user