mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
Marking correct user as Pending on user flags.
This commit is contained in:
@@ -20,7 +20,7 @@ const createAction = ({user = {}}, {item_id, item_type, action_type, metadata =
|
||||
metadata
|
||||
}).then((result) =>
|
||||
item_type === 'USERS' && action_type === 'FLAG' ?
|
||||
UsersService.setStatus(user.id, 'PENDING').then(() => result)
|
||||
UsersService.setStatus(item_id, 'PENDING').then(() => result)
|
||||
: result);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user