Do not use template strings

This commit is contained in:
Daniel García Aubert 2018-03-28 14:16:13 +02:00
parent 9377b73aa3
commit 3576eb8081

View File

@ -70,9 +70,9 @@ function AnonymousMapController (
module.exports = AnonymousMapController; module.exports = AnonymousMapController;
AnonymousMapController.prototype.register = function (mapRouter) { AnonymousMapController.prototype.register = function (mapRouter) {
mapRouter.get(`/`, this.composeCreateMapMiddleware()); mapRouter.get('/', this.composeCreateMapMiddleware());
mapRouter.post(`/`, this.composeCreateMapMiddleware()); mapRouter.post('/', this.composeCreateMapMiddleware());
mapRouter.options(`/`, cors('Content-Type')); mapRouter.options('/', cors('Content-Type'));
}; };
AnonymousMapController.prototype.composeCreateMapMiddleware = function () { AnonymousMapController.prototype.composeCreateMapMiddleware = function () {