Resolving 500 error when deleting an action.

This commit is contained in:
David Jay
2016-11-15 14:24:38 -05:00
parent 44292a81ad
commit fbf27a9d75
3 changed files with 8 additions and 7 deletions
@@ -248,7 +248,8 @@ export function deleteAction (item_id, action_type, user_id, item_type) {
return () => {
const action = {
action_type,
user_id
user_id,
item_id
};
return fetch(`/api/v1/${item_type}/${item_id}/actions`, getInit('DELETE', action))