From 7930d1b00a31ac99225f5a8ea1bf8b3034d78544 Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Wed, 8 Jan 2025 16:34:16 -0500 Subject: [PATCH] Use id for thumbnail size error detail --- backend/btrixcloud/colls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/btrixcloud/colls.py b/backend/btrixcloud/colls.py index 08101c91c..8bc02e689 100644 --- a/backend/btrixcloud/colls.py +++ b/backend/btrixcloud/colls.py @@ -764,7 +764,7 @@ async def stream_iter(): await self.storage_ops.delete_file_object(org, thumbnail_file) raise HTTPException( status_code=400, - detail="Upload failed: maxiumum thumbnail size (2 MB) exceeded", + detail="max_thumbnail_size_2_mb_exceeded", ) if coll.thumbnail: