From 400939cb0b2a0c94eef50a9a889762793833f9c1 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 23 Jul 2023 15:52:08 -0400 Subject: [PATCH] minor fix --- lib/api/controllers/collections/updateCollection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/controllers/collections/updateCollection.ts b/lib/api/controllers/collections/updateCollection.ts index 16a7d7f..7cafedd 100644 --- a/lib/api/controllers/collections/updateCollection.ts +++ b/lib/api/controllers/collections/updateCollection.ts @@ -37,7 +37,7 @@ export default async function updateCollection( }, data: { - name: collection.name, + name: collection.name.trim(), description: collection.description, color: collection.color, isPublic: collection.isPublic,