dev@locazia: fix misprint
This commit is contained in:
parent
4d254d9bac
commit
084c679d06
|
|
@ -77,7 +77,7 @@ async def s_api_v1_storage_get(request, file_hash=None):
|
||||||
if not content:
|
if not content:
|
||||||
return response.json({"error": "File not found"}, status=404)
|
return response.json({"error": "File not found"}, status=404)
|
||||||
|
|
||||||
make_log(f"File {content_sha256} requested by {request.ip}")
|
make_log("Storage", f"File {content_sha256} requested by {request.ip}")
|
||||||
file_path = os.path.join(UPLOADS_DIR, content_sha256)
|
file_path = os.path.join(UPLOADS_DIR, content_sha256)
|
||||||
if not os.path.exists(file_path):
|
if not os.path.exists(file_path):
|
||||||
return response.json({"error": "File not found"}, status=404)
|
return response.json({"error": "File not found"}, status=404)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue