From f90d1f4a4ab90d6ed6ad5c3065a5795bce197efd Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Tue, 28 Apr 2015 21:19:28 +0900 Subject: [PATCH] Use sendStatus instead of status where applicable. --- lib/units/storage/temp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/units/storage/temp.js b/lib/units/storage/temp.js index 3ec030f4..363ced16 100644 --- a/lib/units/storage/temp.js +++ b/lib/units/storage/temp.js @@ -142,7 +142,7 @@ module.exports = function(options) { res.sendFile(file.path) } else { - res.send(404) + res.sendStatus(404) } })