fix update price from talair

This commit is contained in:
mahmood 2025-09-08 10:53:17 +00:00
parent ae09f22106
commit 5e5a650016
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class GetGoldPriceForPwa extends Command
];
// dd($filtered); // اینجا را می‌توانید حذف کنید پس از بررسی
$this->info('done');
return true;
// return true;
// به‌روزرسانی مقدار در پایگاه داده
ConfigStatic::where('key','gold_price_pwa')->update(['val' => $filtered]);
ConfigStatic::where('key', 'gold_price')->update(['val' => json_encode($filtered)]);