Skip to content

Commit e429b46

Browse files
committed
Update for unused variables
1 parent 3f1b77b commit e429b46

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

controllers/LicensePlate.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
var utils = require('../utils/writer.js');
44
var LicensePlate = require('../service/LicensePlateService');
55

6-
module.exports.modifyPlate = function modifyPlate (_,res,__,body) {
6+
module.exports.modifyPlate = function modifyPlate (req,res,next,body) {
7+
void req; // Explicitly ignore
8+
void next; // Explicitly ignore
9+
710
LicensePlate.modifyPlate(body)
811
.then(function (response) {
912
utils.writeJson(res, response);
@@ -13,7 +16,9 @@ module.exports.modifyPlate = function modifyPlate (_,res,__,body) {
1316
});
1417
};
1518

16-
module.exports.registerPlate = function registerPlate (_,res,__,body) {
19+
module.exports.registerPlate = function registerPlate (req,res,next,body) {
20+
void req; // Explicitly ignore
21+
void next; // Explicitly ignore
1722
LicensePlate.registerPlate(body)
1823
.then(function (response) {
1924
utils.writeJson(res, response);

0 commit comments

Comments
 (0)