chore: Update currency API URL

This commit is contained in:
Myzel394 2024-04-22 21:59:46 +02:00
parent db2c2b3318
commit 56c99a42f4
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185

View File

@ -24,7 +24,7 @@ import retrofit2.converter.moshi.MoshiConverterFactory
import retrofit2.http.GET
import retrofit2.http.Path
private const val BASE_URL = "https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/"
private const val BASE_URL = "https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/"
private val moshi = Moshi.Builder()
.add(CurrencyAdapter())