From e2e69b2618feea96200ba0fa8c45da3834923193 Mon Sep 17 00:00:00 2001
From: Jakob Moser <moser@cl.uni-heidelberg.de>
Date: Sat, 17 Aug 2024 15:18:43 +0200
Subject: [PATCH] Make annotation for parameter more specific

---
 portal/api/rest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/portal/api/rest.py b/portal/api/rest.py
index 6474513..e4d89e9 100644
--- a/portal/api/rest.py
+++ b/portal/api/rest.py
@@ -5,7 +5,7 @@ from .blueprint import bp
 
 
 @bp.get("/<path:_>")
-def fallback_not_found(_: object) -> ProblemResponse:
+def fallback_not_found(_: str) -> ProblemResponse:
     """
     If you can't find a matching API endpoint, fallback to returning a 404.
 
-- 
GitLab