From 0720bc2bdb8f9084437481b512b4f518b0d11eac Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Fri, 30 Aug 2024 11:23:27 +0100 Subject: [PATCH] Updated multi-tenant param name for stats charts ref https://linear.app/tryghost/issue/ANAL-27/setup-tinybird-project-and-cicd - We've settled on a name for the param of site_uuid - Need to update the chart code that was added prior to this final decision --- ghost/admin/app/components/stats/charts/top-locations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/components/stats/charts/top-locations.js b/ghost/admin/app/components/stats/charts/top-locations.js index 66d0d91369..11b0d6d8ef 100644 --- a/ghost/admin/app/components/stats/charts/top-locations.js +++ b/ghost/admin/app/components/stats/charts/top-locations.js @@ -15,14 +15,14 @@ export default class TopPages extends Component { /** * @typedef {Object} Params - * @property {string} cid + * @property {string} site_uuid * @property {string} [date_from] * @property {string} [date_to] * @property {number} [limit] * @property {number} [skip] */ const params = { - cid: this.config.stats.id, + site_uuid: this.config.stats.id, date_from: startDate.format('YYYY-MM-DD'), date_to: endDate.format('YYYY-MM-DD') };