diff --git a/lib/roles/storage/temp.js b/lib/roles/storage/temp.js index 20cdee56..376f6926 100644 --- a/lib/roles/storage/temp.js +++ b/lib/roles/storage/temp.js @@ -137,7 +137,7 @@ module.exports = function(options) { var file = storage.retrieve(req.params.id) if (file) { res.set('Content-Type', file.type) - res.sendfile(file.path) + res.sendFile(file.path) } else { res.send(404)