I am trying to get the metrics from 2 projects with following code: `Delighted\Client::setApiKey('project_1_api_key');` `$customer_metrics = \Delighted\Metrics::retrieve();` `Delighted\Client::setApiKey('project_2_api_key');` `$partner_metrics = \Delighted\Metrics::retrieve();` But `$partner_metrics` always has the value from 1st project. I think that second connection never happens.
I am trying to get the metrics from 2 projects with following code:
Delighted\Client::setApiKey('project_1_api_key');$customer_metrics = \Delighted\Metrics::retrieve();Delighted\Client::setApiKey('project_2_api_key');$partner_metrics = \Delighted\Metrics::retrieve();But
$partner_metricsalways has the value from 1st project.I think that second connection never happens.