mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-18 16:25:27 +02:00
chore: Update currency API URL
This commit is contained in:
parent
db2c2b3318
commit
56c99a42f4
@ -24,7 +24,7 @@ import retrofit2.converter.moshi.MoshiConverterFactory
|
|||||||
import retrofit2.http.GET
|
import retrofit2.http.GET
|
||||||
import retrofit2.http.Path
|
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()
|
private val moshi = Moshi.Builder()
|
||||||
.add(CurrencyAdapter())
|
.add(CurrencyAdapter())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user