Rewrite graphql controller execute as function without docs

This commit is contained in:
Valter Martinek
2022-11-11 16:12:24 +01:00
committed by Syer10
parent 0c555e88d3
commit e2fa003239
2 changed files with 7 additions and 22 deletions

View File

@@ -12,7 +12,7 @@ import suwayomi.tachidesk.graphql.controller.GraphQLController
object GraphQL {
fun defineEndpoints() {
post("graphql", GraphQLController.execute)
post("graphql", GraphQLController::execute)
// graphql playground
get("graphql", GraphQLController::playground)