This commit is contained in:
Daniel 2023-07-23 14:27:12 -04:00
parent 6f96f0d3d3
commit 0dfd266487
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ export default async function postCollection(
id: userId,
},
},
name: collection.name,
name: collection.name.trim(),
description: collection.description,
color: collection.color,
members: {

View File

@ -57,7 +57,7 @@ export default async function postLink(
},
},
create: {
name: link.collection.name,
name: link.collection.name.trim(),
ownerId: userId,
},
},