Allow collections with the same name

This commit is contained in:
Isaac Wise
2024-02-18 03:32:31 -06:00
parent 79bd95f650
commit f560422427
6 changed files with 67 additions and 40 deletions
@@ -12,6 +12,12 @@ export default async function getCollection(userId: number) {
_count: {
select: { links: true },
},
parent: {
select: {
id: true,
name: true,
},
},
members: {
include: {
user: {