Commit c04ef767 authored by Matthieu - Greep's avatar Matthieu - Greep

Comment out checkToken

parent 7413bbdd
...@@ -7,7 +7,7 @@ const path = require('path'), ...@@ -7,7 +7,7 @@ const path = require('path'),
*/ */
module.exports = function(app, sql, tokenCheck, errorHandler) { module.exports = function(app, sql, tokenCheck, errorHandler) {
app.post('/'+scriptName, function(req, res) { app.post('/'+scriptName, function(req, res) {
tokenCheck(req, res, sql, ()=>{ //tokenCheck(req, res, sql, ()=>{
const mapId = req.query.map, const mapId = req.query.map,
player = req.query.player, player = req.query.player,
vote = Number(req.query.vote); vote = Number(req.query.vote);
...@@ -55,6 +55,6 @@ module.exports = function(app, sql, tokenCheck, errorHandler) { ...@@ -55,6 +55,6 @@ module.exports = function(app, sql, tokenCheck, errorHandler) {
} }
} }
}); });
}); //});
}); });
}; };
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment