From f7969b07ad3cdc0154355646190a4746363381df Mon Sep 17 00:00:00 2001 From: Bigshmow <49423028+Bigshmow@users.noreply.github.com> Date: Sun, 15 Dec 2024 12:22:51 -0700 Subject: [PATCH] linting and types, sign --- app/core/AppConstants.ts | 2 +- app/lib/ppom/mm-portfolio-api.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/core/AppConstants.ts b/app/core/AppConstants.ts index db82f72a50a..74b3becc9a2 100644 --- a/app/core/AppConstants.ts +++ b/app/core/AppConstants.ts @@ -6,7 +6,7 @@ const DEVELOPMENT = 'development'; const PORTFOLIO_URL = process.env.MM_PORTFOLIO_URL || 'https://portfolio.metamask.io'; const SECURITY_ALERTS_API_URL = process.env.SECURITY_ALERTS_API_URL ?? 'https://security-alerts.api.cx.metamask.io'; -const MM_PORTFOLIO_API_BASE_URL = process.env.MM_PORTFOLIO_API_BASE_URL ?? 'https://portfolio.dev-api.cx.metamask.io' +const MM_PORTFOLIO_API_BASE_URL = process.env.MM_PORTFOLIO_API_BASE_URL ?? 'https://portfolio.dev-api.cx.metamask.io'; export default { IS_DEV: process.env?.NODE_ENV === DEVELOPMENT, diff --git a/app/lib/ppom/mm-portfolio-api.ts b/app/lib/ppom/mm-portfolio-api.ts index ac159a6a0ab..bd43a6e433f 100644 --- a/app/lib/ppom/mm-portfolio-api.ts +++ b/app/lib/ppom/mm-portfolio-api.ts @@ -4,8 +4,8 @@ export function isMMPortfolioAPIEnabled() { return process.env.MM_PORTFOLIO_API_ENABLED === 'true'; } -export async function getMMPortfolioHealthCheck(): Promise { - return request(""); +export async function getMMPortfolioHealthCheck(): Promise { + return request(''); } async function request(endpoint: string, options?: RequestInit) {