From: PhiTux Date: Thu, 27 Feb 2025 15:11:21 +0000 (+0100) Subject: minor changes X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ad5b4b535888b0df114696ada03d863423b4f7e7;p=DailyTxT.git minor changes --- diff --git a/backend/server/routers/logs.py b/backend/server/routers/logs.py index 181f1cc..f7b79c1 100644 --- a/backend/server/routers/logs.py +++ b/backend/server/routers/logs.py @@ -254,7 +254,7 @@ async def uploadFile(day: Annotated[int, Form()], month: Annotated[int, Form()], content:dict = fileHandling.getDay(cookie["user_id"], year, month) enc_filename = security.encrypt_text(file.filename, enc_key) - new_file = {"enc_filename": enc_filename, "uuid_filename": uuid,"size": file.size} + new_file = {"enc_filename": enc_filename, "uuid_filename": uuid, "size": file.size} if "days" not in content.keys(): content["days"] = [] diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 92749be..24ac8ec 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -173,29 +173,30 @@