aboutsummaryrefslogtreecommitdiffstats
path: root/backend/routes/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/routes/index.py')
-rw-r--r--backend/routes/index.py4
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