mirror of
https://github.com/clucraft/PriceGhost.git
synced 2026-05-15 10:52:36 +02:00
Fix countdown timer using server's next_check_at
- Add next_check_at to Product interface - Use server-calculated next check time instead of client-side estimate - Accounts for server-side jitter (±5 min) correctly Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d09850d84e
commit
3b7dce8bde
2 changed files with 9 additions and 6 deletions
|
|
@ -59,6 +59,7 @@ export interface Product {
|
|||
image_url: string | null;
|
||||
refresh_interval: number;
|
||||
last_checked: string | null;
|
||||
next_check_at: string | null;
|
||||
stock_status: StockStatus;
|
||||
price_drop_threshold: number | null;
|
||||
target_price: number | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue