Fix eldorado prices
Some checks failed
Test, build and push image to registry / phpunit-tests (push) Failing after 1m33s
Test, build and push image to registry / build-image (push) Has been skipped

This commit is contained in:
2025-11-06 23:29:49 +01:00
parent 45a40ae999
commit 7d26440d0c
2 changed files with 2 additions and 4 deletions

View File

@@ -2,7 +2,6 @@
namespace App\Browser\Jobs\EldoradoRobuxPriceSentry;
use App\Browser\Jobs\HellcaseBattles\EldoradoRobuxPriceNotificationBody;
use App\Models\Job;
use App\Notification\Notification;
use App\Notification\Stringifiable;
@@ -18,7 +17,7 @@ class EldoradoRobuxPriceNotification extends Notification {
parent::__construct($jobId);
$this->price = $price;
$this->threshold = Job::find($jobId)->jobInfosTable()->get('eldorado_robux_price_threshold');
$this->threshold = floatval(Job::find($jobId)->jobInfosTable()->get('eldorado_robux_price_threshold'));
$this->link = $link;
$this->setBody($this->generateBody());