Rename middleware function
This commit is contained in:
parent
dfef7ff3c0
commit
1ba240d099
@ -136,7 +136,7 @@ NamedMapsAdminController.prototype.update = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
NamedMapsAdminController.prototype.retrieve = function () {
|
NamedMapsAdminController.prototype.retrieve = function () {
|
||||||
return function updateTemplateMiddleware (req, res, next) {
|
return function retrieveTemplateMiddleware (req, res, next) {
|
||||||
req.profiler.start('windshaft-cartodb.get_template');
|
req.profiler.start('windshaft-cartodb.get_template');
|
||||||
|
|
||||||
const { user } = res.locals;
|
const { user } = res.locals;
|
||||||
|
Loading…
Reference in New Issue
Block a user