Skip to content

Commit

Permalink
linting and types, sign
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigshmow committed Dec 15, 2024
1 parent ae3680f commit f7969b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/core/AppConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions app/lib/ppom/mm-portfolio-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export function isMMPortfolioAPIEnabled() {
return process.env.MM_PORTFOLIO_API_ENABLED === 'true';
}

export async function getMMPortfolioHealthCheck(): Promise<any> {
return request("");
export async function getMMPortfolioHealthCheck<T>(): Promise<T> {
return request('');
}

async function request(endpoint: string, options?: RequestInit) {
Expand Down

0 comments on commit f7969b0

Please sign in to comment.