0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Switched to original version for metrics

- up until now, we've been sending the `safe` version as data in
  metrics, but this only includes major.minor
- we'd like to be able to see how every release affects the results, so
  this commit switches to using the version that was supplied in the
  package.json so we've got more of a granular overview
This commit is contained in:
Daniel Lockyer 2022-08-04 19:22:57 +02:00
parent a16dd5e8dd
commit 8f8fcbd5e9
No known key found for this signature in database
GPG key ID: D21186F0B47295AD

View file

@ -18,7 +18,7 @@ loggingConfig.metrics.metadata = {
// Undefined if unavailable
siteId: config.get('hostSettings:siteId'),
domain: config.get('url'),
version: ghostVersion.safe
version: ghostVersion.original
};
module.exports = loggingConfig;