From d8655d3bc60a84fefab6cf59c95f433a349c9340 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 08101c91..8bc02e68 100644 --- a/backend/btrixcloud/colls.py +++ b/backend/btrixcloud/colls.py @@ -764,7 +764,7 @@ class CollectionOps: 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: