mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
Only increme once
This commit is contained in:
@@ -80,7 +80,6 @@ export function handleFlaggedUsernameChange(root, user, notify) {
|
||||
notify();
|
||||
|
||||
return update(root, {
|
||||
flaggedUsernamesCount: { $apply: count => count + 1 },
|
||||
flaggedUsers: {
|
||||
nodes: { $push: [user] },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user