Skip to content
Snippets Groups Projects
Commit 90d62de8 authored by Daniel Sandu's avatar Daniel Sandu
Browse files

fix(ReviewerReportForm): Reviewer cannot delete files added to report

parent fca4dee3
No related branches found
No related tags found
1 merge request!118fix(ReviewerReportForm): Reviewer cannot delete files added to report
......@@ -70,7 +70,7 @@ export default compose(
removeFile: ({ changeForm, setError, setFetching }) => file => {
setFetching(true)
setError('')
deleteFile(file.id)
deleteFile({ fileId: file.id })
.then(r => {
setFetching(false)
changeForm('reviewerReport', 'file', null)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment