Skip to content
Snippets Groups Projects
Commit 1b20b07f authored by Daniel Gerdes's avatar Daniel Gerdes
Browse files

Fix bug that only one user can unlock one entry

parent 1b52ad5b
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ export class EntryResolver {
const count = await this.prismaService.group.count({
where: {
id: req.group.id,
unlocks: {
some: { id },
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment