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:
parent
08bf49eaec
commit
0720bc2bdb
@ -15,14 +15,14 @@ export default class TopPages extends Component {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} Params
|
* @typedef {Object} Params
|
||||||
* @property {string} cid
|
* @property {string} site_uuid
|
||||||
* @property {string} [date_from]
|
* @property {string} [date_from]
|
||||||
* @property {string} [date_to]
|
* @property {string} [date_to]
|
||||||
* @property {number} [limit]
|
* @property {number} [limit]
|
||||||
* @property {number} [skip]
|
* @property {number} [skip]
|
||||||
*/
|
*/
|
||||||
const params = {
|
const params = {
|
||||||
cid: this.config.stats.id,
|
site_uuid: this.config.stats.id,
|
||||||
date_from: startDate.format('YYYY-MM-DD'),
|
date_from: startDate.format('YYYY-MM-DD'),
|
||||||
date_to: endDate.format('YYYY-MM-DD')
|
date_to: endDate.format('YYYY-MM-DD')
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user