diff --git a/app/Services/ZaarboxPriceService.php b/app/Services/ZaarboxPriceService.php index a4f9e1e..040decb 100644 --- a/app/Services/ZaarboxPriceService.php +++ b/app/Services/ZaarboxPriceService.php @@ -28,7 +28,9 @@ class ZaarboxPriceService private function historyId(): string { - return $this->config()->Config('zaarbox_gold_history_id') ?: self::HISTORY_ID; + $chartId = $this->config()->Config('chart_id'); + + return $chartId ?: self::HISTORY_ID; } public function getAllPrices(): array