remove unused params
This commit is contained in:
parent
2717dc8ebd
commit
4ff36dd095
5
utils.js
5
utils.js
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue