Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: resolved headers not working in queue

Akhil Mohan49642480d348
diff --git a/backend/src/ee/services/audit-log/audit-log-queue.ts b/backend/src/ee/services/audit-log/audit-log-queue.ts
index fa9a0a5001..6c563b5738 100644
--- a/backend/src/ee/services/audit-log/audit-log-queue.ts
+++ b/backend/src/ee/services/audit-log/audit-log-queue.ts
@@ -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;
});