From 4ff36dd0950b83bc1d0db72dd115937265184c9a Mon Sep 17 00:00:00 2001 From: Francesco Esposito <33671357+frab1t@users.noreply.github.com> Date: Fri, 22 Feb 2019 11:30:46 +0100 Subject: [PATCH] remove unused params --- utils.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils.js b/utils.js index efc5e83..9a72c0a 100644 --- a/utils.js +++ b/utils.js @@ -1,3 +1,4 @@ +/* eslint-disable no-underscore-dangle */ const config = require('./config'); // utils functions @@ -55,7 +56,7 @@ function templateDevicesList(data) { return msg; } -function templateError(data) { +function templateError() { const msg = 'Error, check the server.log'; return msg; } @@ -108,4 +109,4 @@ module.exports.templateError = templateError; module.exports.templateDeviceNotFound = templateDeviceNotFound; module.exports.templateAddDeviceURL = templateAddDeviceURL; module.exports.templateAddDeviceHeader = templateAddDeviceHeader; -module.exports.templateAddDeviceBody = templateAddDeviceBody; \ No newline at end of file +module.exports.templateAddDeviceBody = templateAddDeviceBody;