Use const instead of var

This commit is contained in:
Daniel García Aubert 2017-12-29 15:22:17 +01:00
parent cf2b73e473
commit 64d601179d

View File

@ -1,7 +1,6 @@
var templateName = require('../backends/template_maps').templateName;
var cors = require('../middleware/cors');
var userMiddleware = require('../middleware/user');
const { templateName } = require('../backends/template_maps');
const cors = require('../middleware/cors');
const userMiddleware = require('../middleware/user');
/**
* @param {AuthApi} authApi