Skip to content

Commit

Permalink
Fix currency-api link (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
fawazahmed0 authored Mar 2, 2024
1 parent 36407b9 commit 03e1ccd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class CurrencyConversion implements Extension {

private async setRate(currency: string): Promise<void> {
const response = await this.net.fetch(
`https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/${currency}.json`,
`https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/${currency}.json`,
);

const responseJson = await response.json();
Expand Down

0 comments on commit 03e1ccd

Please sign in to comment.