fix: resolved headers not working in queue

This commit is contained in:
Akhil Mohan
2024-05-03 20:06:24 +05:30
parent b667dccc0d
commit 49642480d3

View File

@@ -96,7 +96,7 @@ export const auditLogQueueServiceFactory = ({
const headers: RawAxiosRequestHeaders = { "Content-Type": "application/json" };
if (headers.length)
if (streamHeaders.length)
streamHeaders.forEach(({ key, value }) => {
headers[key] = value;
});