missing return type

pull/920/head
Adrian Maraj 2024-06-19 10:50:34 +02:00
parent 4c8fd74900
commit 0965fa63a2
1 changed files with 1 additions and 1 deletions

View File

@ -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)