From 8676421a10f7b33490760c8836f2bcb66ca0b86e Mon Sep 17 00:00:00 2001 From: = Date: Fri, 11 Apr 2025 19:43:27 +0530 Subject: [PATCH] feat: resolved failing test --- .../services/secret-replication/secret-replication-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/ee/services/secret-replication/secret-replication-service.ts b/backend/src/ee/services/secret-replication/secret-replication-service.ts index e4e79027b..17d218eaf 100644 --- a/backend/src/ee/services/secret-replication/secret-replication-service.ts +++ b/backend/src/ee/services/secret-replication/secret-replication-service.ts @@ -505,6 +505,7 @@ export const secretReplicationServiceFactory = ({ } }); + await secretV2BridgeDAL.cacheInvalidateSecretByProjectId(projectId); await secretQueueService.syncSecrets({ projectId, orgId, @@ -791,7 +792,6 @@ export const secretReplicationServiceFactory = ({ } }); - await secretV2BridgeDAL.cacheInvalidateSecretByProjectId(projectId); await secretQueueService.syncSecrets({ projectId, orgId,