added banks logos
This commit is contained in:
@@ -71,12 +71,17 @@ class LivePriceTickService
|
||||
$liquidGold = app(ProductDisplayPriceService::class)->resolveHistoricalBasePrice();
|
||||
}
|
||||
|
||||
$tickSource = (string) ($payload['price_source'] ?? $source);
|
||||
if ($tickSource === '') {
|
||||
$tickSource = $source;
|
||||
}
|
||||
|
||||
$activeProducts = Product::query()
|
||||
->where('active', 1)
|
||||
->whereNotNull('reading_method')
|
||||
->count();
|
||||
|
||||
$syncLog = app(PriceSyncLogService::class)->recordTick($source, $sourceUrl, $liquidGold, $activeProducts);
|
||||
$syncLog = app(PriceSyncLogService::class)->recordTick($tickSource, $sourceUrl, $liquidGold, $activeProducts);
|
||||
|
||||
app(LivePriceCacheService::class)->markTick();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user