mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 07:26:45 +00:00
feat(server): fixed if projectid is missing
This commit is contained in:
@@ -71,7 +71,7 @@ export const auditLogQueueServiceFactory = ({
|
|||||||
userAgentType
|
userAgentType
|
||||||
});
|
});
|
||||||
|
|
||||||
const logStreams = await auditLogStreamDAL.find({ projectId });
|
const logStreams = projectId ? await auditLogStreamDAL.find({ projectId }) : [];
|
||||||
await Promise.allSettled(
|
await Promise.allSettled(
|
||||||
logStreams.map(
|
logStreams.map(
|
||||||
async ({ url, encryptedTokenTag, encryptedTokenIV, encryptedTokenKeyEncoding, encryptedTokenCiphertext }) => {
|
async ({ url, encryptedTokenTag, encryptedTokenIV, encryptedTokenKeyEncoding, encryptedTokenCiphertext }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user