mirror of
https://github.com/mediathekview/zapp.git
synced 2024-09-20 12:22:15 +02:00
Prefix MediathekApiService
This commit is contained in:
parent
0d54642435
commit
c62dcad94d
@ -6,7 +6,7 @@ import retrofit2.http.Body
|
||||
import retrofit2.http.Headers
|
||||
import retrofit2.http.POST
|
||||
|
||||
interface MediathekApiService {
|
||||
interface IMediathekApiService {
|
||||
|
||||
@Headers("Content-Type: text/plain")
|
||||
@POST("query")
|
@ -13,7 +13,7 @@ import retrofit2.http.Body
|
||||
|
||||
class MediathekApi {
|
||||
|
||||
private val apiService: MediathekApiService
|
||||
private val apiService: IMediathekApiService
|
||||
|
||||
init {
|
||||
// workaround to avoid SSLHandshakeException on Android 7 devices
|
||||
@ -33,7 +33,7 @@ class MediathekApi {
|
||||
.addConverterFactory(GsonConverterFactory.create())
|
||||
.build()
|
||||
|
||||
apiService = retrofit.create(MediathekApiService::class.java)
|
||||
apiService = retrofit.create(IMediathekApiService::class.java)
|
||||
}
|
||||
|
||||
suspend fun listShows(@Body queryRequest: QueryRequest): List<MediathekShow> {
|
||||
|
Loading…
Reference in New Issue
Block a user