Marking correct user as Pending on user flags.

This commit is contained in:
David Jay
2017-01-26 17:42:45 -05:00
parent f06edec6a2
commit 02ece80227
+1 -1
View File
@@ -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);
};