From a426d5c6c26c6e7e0942996462e49224c3ea9876 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Sat, 1 Nov 2025 14:57:49 +0100 Subject: [PATCH] Fix eldorado prices are per 1K robux now --- .../EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Browser/Jobs/EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php b/app/Browser/Jobs/EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php index 01a75b3..fb1edf7 100644 --- a/app/Browser/Jobs/EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php +++ b/app/Browser/Jobs/EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php @@ -94,6 +94,7 @@ class EldoradoRobuxPriceSentryJob extends BrowserJob implements ShouldBeUniqueUn $lowestPriceElement = $browser->driver->findElement(WebDriverBy::xpath('(//eld-offer-price)[2]/strong')); $lowestPriceText = $lowestPriceElement->getText(); // Ex: " 0,00478 € " $lowestPrice = (float)str_replace(["€", ","], ["", "."], trim($lowestPriceText)); + $lowestPrice = $lowestPrice / 1000; // Price per Robux $threshold = floatval(str_replace(",", ".", $this->jobInfos->get("eldorado_robux_price_threshold"))); dump($threshold);