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
This commit is contained in:
Hannah Wolfe 2024-08-30 11:23:27 +01:00
parent 08bf49eaec
commit 0720bc2bdb
No known key found for this signature in database
GPG Key ID: AB586C3B5AE5C037

View File

@ -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')
};