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;
AnonymousMapController.prototype.register = function (mapRouter) {
mapRouter.get(`/`, this.composeCreateMapMiddleware());
mapRouter.post(`/`, this.composeCreateMapMiddleware());
mapRouter.options(`/`, cors('Content-Type'));
mapRouter.get('/', this.composeCreateMapMiddleware());
mapRouter.post('/', this.composeCreateMapMiddleware());
mapRouter.options('/', cors('Content-Type'));
};
AnonymousMapController.prototype.composeCreateMapMiddleware = function () {