fix: backport fixes from a sister project

This commit is contained in:
2025-06-20 23:23:00 +02:00
parent 06679ee165
commit 99e914557a
6 changed files with 43 additions and 7 deletions

View File

@@ -451,7 +451,7 @@ def videos(data):
return send(status_code, response)
def lookup(data):
def lookup(data, request):
# possibly TODO: rewrite this mess
if len(data) > 2:
if (data[0], data[1]) == ("api", "v1"):