Rename middleware function

This commit is contained in:
Daniel García Aubert 2018-01-03 13:15:11 +01:00
parent dfef7ff3c0
commit 1ba240d099

View File

@ -136,7 +136,7 @@ NamedMapsAdminController.prototype.update = function () {
};
NamedMapsAdminController.prototype.retrieve = function () {
return function updateTemplateMiddleware (req, res, next) {
return function retrieveTemplateMiddleware (req, res, next) {
req.profiler.start('windshaft-cartodb.get_template');
const { user } = res.locals;