Skip to content

Commit 1754521

Browse files
committed
fix: delete many
1 parent 8042b93 commit 1754521

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/repository/userRepository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class UserRepository {
169169
displayName,
170170
icon: typeof icon === 'string' ? icon : undefined,
171171
backgroundImage: typeof backgroundImage === 'string' ? backgroundImage : undefined,
172-
links: links ? { deleteMany: { url: { notIn: links } }, createMany: { data: links.map(url => ({ url })), skipDuplicates: true } } : undefined
172+
links: links ? { deleteMany: { }, createMany: { data: links.map(url => ({ url })), skipDuplicates: true } } : undefined
173173
}
174174
}
175175
},

0 commit comments

Comments
 (0)