Skip to content

Commit

Permalink
Merge pull request #12 from futuredapp/hotfix/improve-annotations
Browse files Browse the repository at this point in the history
Remove experimental annotation in retrofit
  • Loading branch information
davidkocnar authored Jul 10, 2023
2 parents 4334b41 + 5fea998 commit b06147a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ class NetworkModule {

@Provides
@Singleton
@OptIn(ExperimentalSerializationApi::class)
fun provideRetrofitService(
okHttpClient: OkHttpClient,
json: Json,
) = Retrofit.Builder()
): ApiService = Retrofit.Builder()
.baseUrl(BASE_PROD_URL)
.addConverterFactory(json.asConverterFactory("application/json".toMediaType()))
.client(okHttpClient)
Expand Down

0 comments on commit b06147a

Please sign in to comment.