From 2956399b4b85827be7a77e0ac62703168ac0e5e2 Mon Sep 17 00:00:00 2001 From: AaronBenDaniel <144371000+AaronBenDaniel@users.noreply.github.com> Date: Wed, 25 Jun 2025 10:42:05 -0400 Subject: [PATCH] fix(api): Change error message capitalization --- src/api/src/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/src/main.py b/src/api/src/main.py index 8ce58ba..93eae99 100644 --- a/src/api/src/main.py +++ b/src/api/src/main.py @@ -196,10 +196,10 @@ async def handle_download( media_type = "application/epub+zip" case DownloadFormat.pdf: if not PDFS_ENABLED: - logger.error("PDF downloads not enabled.") + logger.error("PDF Downloads not enabled.") return HTMLResponse( status_code=403, - content='PDF downloads have been disabled by the server administrator. Support is available on the Discord', + content='PDF Downloads have been disabled by the server administrator. Support is available on the Discord', ) author_image = await fetch_image( metadata["user"]["avatar"].replace("-256-", "-512-")