Skip to content

Commit 4c86a62

Browse files
committed
fix query
1 parent 0c69101 commit 4c86a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/github/andreyasadchy/xtra/di/XtraModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class XtraModule {
125125
apolloRequest.operation.serializeVariables(this, apolloRequest.executionContext[CustomScalarAdapters] ?: CustomScalarAdapters.Empty, false)
126126
}
127127
name("query")
128-
value(apolloRequest.operation.document().replaceFirst(apolloRequest.operation.name(), ""))
128+
value(apolloRequest.operation.document().replaceFirst(apolloRequest.operation.name(), "null"))
129129
}
130130
}
131131
return HttpRequest.Builder(HttpMethod.Post, "https://gql.twitch.tv/gql/").apply {

0 commit comments

Comments
 (0)