dev@locazia: fix misprint

This commit is contained in:
user committed 2024-03-04 17:58:59 +03:00
1 parent 4d254d9bac
commit 084c679d06
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ async def s_api_v1_storage_get(request, file_hash=None):
if not content:
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)
if not os.path.exists(file_path):
return response.json({"error": "File not found"}, status=404)