fixed typo

v1.18.x
barisusakli 11 years ago
parent b5071d504f
commit b81f3552bb

@ -134,11 +134,11 @@ function getModerators(req, res, next) {
}); });
} }
var templatsListingCache = []; var templatesListingCache = [];
function getTemplatesListing(req, res, next) { function getTemplatesListing(req, res, next) {
if (templatsListingCache.length) { if (templatesListingCache.length) {
return res.json(templatsListingCache); return res.json(templatesListingCache);
} }
async.parallel({ async.parallel({
@ -160,7 +160,7 @@ function getTemplatesListing(req, res, next) {
}); });
data = data.concat(results.extended); data = data.concat(results.extended);
templatsListingCache = data; templatesListingCache = data;
res.json(data); res.json(data);
}); });
} }

Loading…
Cancel
Save