improvements

This commit is contained in:
Daniel
2023-05-29 02:44:44 +03:30
parent 8f5dba6ed4
commit 271231120c
8 changed files with 15 additions and 30 deletions
@@ -35,6 +35,7 @@ export default async function (
data: {
name: collection.name,
description: collection.description,
isPublic: collection.isPublic,
members: {
create: collection.members.map((e) => ({
user: { connect: { email: e.user.email } },