Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomi Turtiainen committed Apr 29, 2019
1 parent c8e609d commit ed3ed40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/http/image-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ function remove(req, res) {
return checkExists(req, res)
.then(exists => {
if (exists) {
return
return;
}

return delImgVotes(req.params.id)
.then(() => delImg(req.params.id))
.then(() => {
res.sendStatus(200)
res.sendStatus(200);
})
})
}
Expand Down

0 comments on commit ed3ed40

Please sign in to comment.