dev@locazia: fast fixes

This commit is contained in:
user 2024-03-04 17:53:38 +03:00
parent 42850511a5
commit 913472f4e6
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ async def s_api_v1_storage_post(request):
return response.json({"error": f"Error: {e}"}, status=500)
async def s_api_v1_storage_get(request, content_id):
async def s_api_v1_storage_get(request, file_hash=None):
content_id = file_hash
cid, errmsg = resolve_content(content_id)
if errmsg:
return response.json({"error": errmsg}, status=400)