mirror of
https://github.com/wassname/talk.git
synced 2026-10-28 13:30:17 +08:00
Added fix for flag actions
This commit is contained in:
1 parent
35f01c2ecc
commit
5048fbb7f0
1 file changed
+3
-1
@@ -8,7 +8,9 @@ const FlagAction = {
|
||||
return group_id;
|
||||
},
|
||||
user({user_id}, _, {loaders: {Users}}) {
|
||||
return Users.getByID.load(user_id);
|
||||
if (user_id) {
|
||||
return Users.getByID.load(user_id);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user