Skip to content

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

Bring back missing teamId when fetching integrationAuth

Tuan Dang3103075c3f8e
diff --git a/backend/src/helpers/integration.ts b/backend/src/helpers/integration.ts
index 803c92aca3..9aaf526240 100644
--- a/backend/src/helpers/integration.ts
+++ b/backend/src/helpers/integration.ts
@@ -160,7 +160,7 @@ export const getIntegrationAuthAccessHelper = async ({
let accessId;
let accessToken;
const integrationAuth = await IntegrationAuth.findById(integrationAuthId).select(
- "workspace integration +accessCiphertext +accessIV +accessTag +accessExpiresAt +refreshCiphertext +refreshIV +refreshTag +accessIdCiphertext +accessIdIV +accessIdTag metadata"
+ "workspace integration +accessCiphertext +accessIV +accessTag +accessExpiresAt +refreshCiphertext +refreshIV +refreshTag +accessIdCiphertext +accessIdIV +accessIdTag metadata teamId"
);
if (!integrationAuth)