Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunnini committed Jul 23, 2024
1 parent 2fca736 commit 01dfb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export const checkImageSize = (path: string) => {

const checkCoinGeckoIds = async (...coinGeckoIds: string[]) => {
const priceURL =
process.env.PRICE_URL ?? "https://api.coingecko.com/api/v3/simple/price";
process.env.PRICE_URL || "https://api.coingecko.com/api/v3/simple/price";
const response = await fetch(
`${priceURL}?vs_currencies=usd&ids=${coinGeckoIds.join(",")}`,
);
Expand Down

0 comments on commit 01dfb37

Please sign in to comment.