diff --git a/lib/api/middlewares/metrics.js b/lib/api/middlewares/metrics.js index b51ddba8..084c353f 100644 --- a/lib/api/middlewares/metrics.js +++ b/lib/api/middlewares/metrics.js @@ -104,7 +104,7 @@ function getTemplateHash ({ res }) { let templateHash; try { - templateHash = res.locals.mapConfigProvider.getTemplateHash(); + templateHash = res.locals.mapConfigProvider.getTemplateHash().substring(0, 8); } catch (e) {} return templateHash;