From ace9a8a764a123513cb37af44ba768332c38414f Mon Sep 17 00:00:00 2001 From: Fawaz Ahmed Date: Fri, 1 Mar 2024 18:43:52 +0530 Subject: [PATCH] Fix currency-api link --- .../legacy/domain/action/exchange/SyncExchangeRatesAct.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/temp/legacy-code/src/main/java/com/ivy/legacy/domain/action/exchange/SyncExchangeRatesAct.kt b/temp/legacy-code/src/main/java/com/ivy/legacy/domain/action/exchange/SyncExchangeRatesAct.kt index c784ed9505..e0dd67add8 100644 --- a/temp/legacy-code/src/main/java/com/ivy/legacy/domain/action/exchange/SyncExchangeRatesAct.kt +++ b/temp/legacy-code/src/main/java/com/ivy/legacy/domain/action/exchange/SyncExchangeRatesAct.kt @@ -24,10 +24,10 @@ class SyncExchangeRatesAct @Inject constructor( companion object { private val URLS = listOf( - "https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.json", - "https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.min.json", - "https://raw.githubusercontent.com/fawazahmed0/currency-api/1/latest/currencies/eur.min.json", - "https://raw.githubusercontent.com/fawazahmed0/currency-api/1/latest/currencies/eur.json", + "https://currency-api.pages.dev/v1/currencies/eur.json", + "https://currency-api.pages.dev/v1/currencies/eur.min.json", + "https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/eur.min.json", + "https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/eur.json", ) }