#292_shutdown_procedure #321

Merged
edraft merged 6 commits from #292_shutdown_procedure into 1.1.0 2023-07-18 11:03:16 +02:00
Showing only changes of commit e25c29b2a6 - Show all commits

View File

@ -1,5 +1,5 @@
from ariadne import graphql_sync
from ariadne.explorer import ExplorerGraphiQL
from ariadne.explorer import ExplorerPlayground
from cpl_core.configuration import ConfigurationABC
from cpl_core.environment import ApplicationEnvironmentABC
from flask import request, jsonify
@ -30,7 +30,7 @@ class GraphQLController:
if self._env.environment_name != "development":
return "", 403
return ExplorerGraphiQL().html(None), 200
return ExplorerPlayground().html(None), 200
@Route.post(f"{BasePath}")
@Route.authorize(by_api_key=True)