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