remove unused params

This commit is contained in:
Francesco Esposito 2019-02-22 11:30:46 +01:00
parent 2717dc8ebd
commit 4ff36dd095
1 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
/* eslint-disable no-underscore-dangle */
const config = require('./config'); const config = require('./config');
// utils functions // utils functions
@ -55,7 +56,7 @@ function templateDevicesList(data) {
return msg; return msg;
} }
function templateError(data) { function templateError() {
const msg = 'Error, check the server.log'; const msg = 'Error, check the server.log';
return msg; return msg;
} }
@ -108,4 +109,4 @@ module.exports.templateError = templateError;
module.exports.templateDeviceNotFound = templateDeviceNotFound; module.exports.templateDeviceNotFound = templateDeviceNotFound;
module.exports.templateAddDeviceURL = templateAddDeviceURL; module.exports.templateAddDeviceURL = templateAddDeviceURL;
module.exports.templateAddDeviceHeader = templateAddDeviceHeader; module.exports.templateAddDeviceHeader = templateAddDeviceHeader;
module.exports.templateAddDeviceBody = templateAddDeviceBody; module.exports.templateAddDeviceBody = templateAddDeviceBody;