Change-Id: Iedcafbf0ad7b853544b7b5b3f37685a0a868c2e6
pull/582/head
Yuri Schimke 2 years ago
parent 9e399b69ea
commit 4fa730098d

@ -58,7 +58,7 @@ object NetworkModule {
if (BuildConfig.DEBUG) {
setLevel(HttpLoggingInterceptor.Level.BODY)
}
}
},
)
.build()

@ -68,14 +68,13 @@ private data class NetworkResponse<T>(
val data: T,
)
/**
* [Retrofit] backed [NiaNetworkDataSource]
*/
@Singleton
class RetrofitNiaNetwork @Inject constructor(
networkJson: Json,
okhttpCallFactory: Call.Factory
okhttpCallFactory: Call.Factory,
) : NiaNetworkDataSource {
private val networkApi = Retrofit.Builder()

Loading…
Cancel
Save