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,