From 0965fa63a2aef5391c414124bd2dc5891d38edc4 Mon Sep 17 00:00:00 2001 From: Adrian Maraj Date: Wed, 19 Jun 2024 10:50:34 +0200 Subject: [PATCH] missing return type --- website/web/genericapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/web/genericapi.py b/website/web/genericapi.py index 02565d74..eb2f065e 100644 --- a/website/web/genericapi.py +++ b/website/web/genericapi.py @@ -780,5 +780,5 @@ class CaptureHide(Resource): # type: ignore[misc] @api.route('/json/recent_captures') @api.doc(description='Get uuids of the most recent captures.') class RecentCaptures(Resource): # type: ignore[misc] - def get(self): + def get(self) -> list: return lookyloo.redis.zrange('recent_captures',0, -1) \ No newline at end of file