Fixed: Delete MovieFile from MovieDetails gives 405

pull/2/head
Qstick 5 years ago
parent f6eb6666c2
commit bba5b425b3

@ -51,7 +51,9 @@ function createMapDispatchToProps(dispatch, props) {
}, },
onDeletePress(movieFileId) { onDeletePress(movieFileId) {
dispatch(deleteMovieFile(movieFileId)); dispatch(deleteMovieFile({
id: movieFileId
}));
} }
}; };
} }

Loading…
Cancel
Save