Skip to content

Commit b0c8bee

Browse files
authored
Fix query for new MVW API implementation
Send the request with Content-Type "application/json".
1 parent 3ab0073 commit b0c8bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/de/christinecoenen/code/zapp/app/mediathek/api/IMediathekApiService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import retrofit2.http.POST
88

99
interface IMediathekApiService {
1010

11-
@Headers("Content-Type: text/plain")
11+
@Headers("Content-Type: application/json")
1212
@POST("query")
1313
suspend fun listShows(@Body queryRequest: QueryRequest): MediathekAnswer
1414

0 commit comments

Comments
 (0)