mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 07:27:58 +00:00
fix: resolved headers not working in queue
This commit is contained in:
@@ -96,7 +96,7 @@ export const auditLogQueueServiceFactory = ({
|
|||||||
|
|
||||||
const headers: RawAxiosRequestHeaders = { "Content-Type": "application/json" };
|
const headers: RawAxiosRequestHeaders = { "Content-Type": "application/json" };
|
||||||
|
|
||||||
if (headers.length)
|
if (streamHeaders.length)
|
||||||
streamHeaders.forEach(({ key, value }) => {
|
streamHeaders.forEach(({ key, value }) => {
|
||||||
headers[key] = value;
|
headers[key] = value;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user