bug fix
This commit is contained in:
parent
6f96f0d3d3
commit
0dfd266487
|
@ -37,7 +37,7 @@ export default async function postCollection(
|
||||||
id: userId,
|
id: userId,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
name: collection.name,
|
name: collection.name.trim(),
|
||||||
description: collection.description,
|
description: collection.description,
|
||||||
color: collection.color,
|
color: collection.color,
|
||||||
members: {
|
members: {
|
||||||
|
|
|
@ -57,7 +57,7 @@ export default async function postLink(
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
create: {
|
create: {
|
||||||
name: link.collection.name,
|
name: link.collection.name.trim(),
|
||||||
ownerId: userId,
|
ownerId: userId,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Ŝarĝante…
Reference in New Issue