Skip to content

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

fix(secret-sync): drop stray blank line in daytona duplicate check

Calvinf438380adeb1
diff --git a/backend/src/services/secret-sync/secret-sync-maps.ts b/backend/src/services/secret-sync/secret-sync-maps.ts
index ba4354a92a..8b7b3df14d 100644
--- a/backend/src/services/secret-sync/secret-sync-maps.ts
+++ b/backend/src/services/secret-sync/secret-sync-maps.ts
@@ -255,7 +255,6 @@ const awsDuplicateCheck: DestinationDuplicateCheckFn = async ({ existingSync, ne
// exactly when their connections resolve to the same organization, whether or not they share a
// connection.
const daytonaDuplicateCheck: DestinationDuplicateCheckFn = async ({ existingSync, newSync, decryptConnection }) => {
-
if (!newSync.connectionId || !existingSync.connectionId) return false;
if (existingSync.connectionId === newSync.connectionId) return true;