Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
chore: cleanup
Daniel Hougaard94a1fc2809e4
diff --git a/backend/src/services/integration-auth/integration-app-list.ts b/backend/src/services/integration-auth/integration-app-list.tsindex 804f052197..1260378957 100644--- a/backend/src/services/integration-auth/integration-app-list.ts+++ b/backend/src/services/integration-auth/integration-app-list.ts@@ -180,10 +180,6 @@ export const getAppsVercel = async ({ accessToken, teamId }: { teamId?: string |}});- for (const project of data.projects) {- console.log(project.customEnvironments);- }-data.projects.forEach((a) => {apps.push({name: a.name,diff --git a/backend/src/services/integration-auth/integration-token.ts b/backend/src/services/integration-auth/integration-token.tsindex 36e76b2312..362b20a07d 100644--- a/backend/src/services/integration-auth/integration-token.ts+++ b/backend/src/services/integration-auth/integration-token.ts@@ -5,7 +5,6 @@ import { request } from "@app/lib/config/request";import { BadRequestError, ForbiddenRequestError, InternalServerError, NotFoundError } from "@app/lib/errors";import { Integrations, IntegrationUrls } from "./integration-list";-import { AxiosError } from "axios";type ExchangeCodeAzureResponse = {token_type: string;@@ -198,22 +197,15 @@ const exchangeCodeVercel = async ({ code }: { code: string }) => {}const res = (- await request- .post<ExchangeCodeVercelResponse>(- IntegrationUrls.VERCEL_TOKEN_URL,- new URLSearchParams({- code,- client_id: appCfg.CLIENT_ID_VERCEL,- client_secret: appCfg.CLIENT_SECRET_VERCEL,- redirect_uri: `${appCfg.SITE_URL}/integrations/vercel/oauth2/callback`- })- )- .catch((e) => {- if (e instanceof AxiosError) {- console.log(e.response?.data);- }- throw e;+ await request.post<ExchangeCodeVercelResponse>(+ IntegrationUrls.VERCEL_TOKEN_URL,+ new URLSearchParams({+ code,+ client_id: appCfg.CLIENT_ID_VERCEL,+ client_secret: appCfg.CLIENT_SECRET_VERCEL,+ redirect_uri: `${appCfg.SITE_URL}/integrations/vercel/oauth2/callback`})+ )).data;return {diff --git a/frontend/src/pages/secret-manager/integrations/VercelConfigurePage/VercelConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/VercelConfigurePage/VercelConfigurePage.tsxindex 481d3601a8..200ef6fcf1 100644--- a/frontend/src/pages/secret-manager/integrations/VercelConfigurePage/VercelConfigurePage.tsx+++ b/frontend/src/pages/secret-manager/integrations/VercelConfigurePage/VercelConfigurePage.tsx@@ -164,8 +164,6 @@ export const VercelConfigurePage = () => {return selectedEnvironments;}, [targetAppId, customEnvironments]);- console.log("selectedVercelEnvironments", selectedVercelEnvironments);-return integrationAuth &&selectedSourceEnvironment &&integrationAuthApps &&