diff --git a/pkg/watcher/coach.go b/pkg/watcher/coach.go index 873ea60..51432c1 100644 --- a/pkg/watcher/coach.go +++ b/pkg/watcher/coach.go @@ -120,6 +120,7 @@ func (c *CoachOutlet) Watch() { if !inventory.AllocationResetDate.IsZero() { c.detail.AllocationResetDate = inventory.AllocationResetDate } + c.detail.Watch = true if c.detail.Orderable { c.detail.Watch = false c.detail.AllocationResetDate = time.Now() @@ -207,6 +208,7 @@ func (c *CoachOutlet) requestProductDetail(ctx context.Context) error { c.detail = resp.ProductData[0].Product() c.detail.Remark = c.cfg.Remark c.detail.Link = fmt.Sprintf("https://www.coachoutlet.com%s", c.detail.Link) + c.detail.Watch = true if c.detail.Orderable { c.detail.Watch = false if c.detail.AllocationResetDate.IsZero() {