mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 01:44:43 +08:00
Merge pull request #518 from coralproject/flag-action-fix
Added fix for flag actions
This commit is contained in:
@@ -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