Skip to content

Commit

Permalink
Minor syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Oct 12, 2023
1 parent 7201341 commit a081efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/http-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module.exports = function (RED) {
dotfiles: 'deny',
};
const fileName = req.params.name;
res.sendFile(fileName, options, function (err) {
res.sendFile(fileName, options, (err) => {
if (err) {
next(err);
}
Expand Down

0 comments on commit a081efe

Please sign in to comment.