chore: remove unused error (#20)
This commit is contained in:
parent
0a3fc7c3cd
commit
56c68caa93
@ -58,10 +58,9 @@ module.exports = function (app) {
|
||||
});
|
||||
});
|
||||
|
||||
let error;
|
||||
app.get('/_api/get-tests', cors(), function(req, res, next){
|
||||
console.log(error);
|
||||
if(!error && process.env.NODE_ENV === 'test') return next();
|
||||
console.log('requested');
|
||||
if(process.env.NODE_ENV === 'test') return next();
|
||||
res.json({status: 'unavailable'});
|
||||
},
|
||||
function(req, res, next){
|
||||
|
Loading…
Reference in New Issue
Block a user