Begin auto-save on edit mode

This commit is contained in:
Félix Malfait
2023-07-08 15:14:23 +02:00
parent 7b20932648
commit 04ef9830ab
6 changed files with 156 additions and 14 deletions
@@ -57,7 +57,7 @@ export class CommentThreadResolver {
const createdCommentThread = await this.commentThreadService.create({
data: {
...args.data,
// ...{ comments: { createMany: { data: newCommentData } } },
//...{ comments: { createMany: { data: newCommentData } } },
...{ workspace: { connect: { id: workspace.id } } },
},
select: prismaSelect.value,