mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
Addressing issue when deleting actions.
This commit is contained in:
@@ -248,8 +248,7 @@ export function deleteAction (item_id, action_type, user_id, item_type) {
|
||||
return () => {
|
||||
const action = {
|
||||
action_type,
|
||||
user_id,
|
||||
item_id
|
||||
user_id
|
||||
};
|
||||
|
||||
return fetch(`/api/v1/${item_type}/${item_id}/actions`, getInit('DELETE', action))
|
||||
|
||||
Reference in New Issue
Block a user