diff options
author | 2020-11-26 18:56:56 +0000 | |
---|---|---|
committer | 2020-11-26 18:56:56 +0000 | |
commit | 182da79739a134b8d574bf995601bc33b2f9a8c8 (patch) | |
tree | 26c57af0d6b4fa7a6d4f7d2b578b741662c01bfc /backend/routes/index.py | |
parent | linebreak in SCHEMA.md (diff) | |
parent | Add secretRef key to deployment.yaml (diff) |
Merge pull request #1 from python-discord/docker-ci-deployment
Diffstat (limited to 'backend/routes/index.py')
-rw-r--r-- | backend/routes/index.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/routes/index.py b/backend/routes/index.py index 1b5b404..8144723 100644 --- a/backend/routes/index.py +++ b/backend/routes/index.py @@ -1,7 +1,7 @@ """ Index route for the forms API. """ - +from starlette.requests import Request from starlette.responses import JSONResponse from backend.route import Route @@ -17,7 +17,7 @@ class IndexRoute(Route): name = "index" path = "/" - def get(self, request): + def get(self, request: Request) -> JSONResponse: return JSONResponse({ "message": "Hello, world!", "client": request.client.host |