NTP-12177 | Header changes

This commit is contained in:
Aman Chaturvedi
2024-11-20 17:39:54 +05:30
parent a9728871a1
commit f75be8ebd8

View File

@@ -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) => {