dev@locazia: fast fixes
This commit is contained in:
parent
42850511a5
commit
913472f4e6
|
|
@ -66,7 +66,8 @@ async def s_api_v1_storage_post(request):
|
||||||
return response.json({"error": f"Error: {e}"}, status=500)
|
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)
|
cid, errmsg = resolve_content(content_id)
|
||||||
if errmsg:
|
if errmsg:
|
||||||
return response.json({"error": errmsg}, status=400)
|
return response.json({"error": errmsg}, status=400)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue