summaryrefslogtreecommitdiff
path: root/internal/schedule
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-10-19 21:02:14 +0300
committerPaul Buetow <paul@buetow.org>2024-10-19 21:02:14 +0300
commite02dcb943263da2fa701a7aba96b5dc41c14ffe0 (patch)
treeca34f499a37f39a65bb239f632057698141e1dec /internal/schedule
parentc072a8a06c9634948497f4ef5e69b832c80be195 (diff)
fix linkedin escapes
Diffstat (limited to 'internal/schedule')
-rw-r--r--internal/schedule/schedule.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/schedule/schedule.go b/internal/schedule/schedule.go
index 5512e4d..be2b6f8 100644
--- a/internal/schedule/schedule.go
+++ b/internal/schedule/schedule.go
@@ -26,7 +26,7 @@ func Run(args config.Args, platform string) (entry.Entry, error) {
}
log.Println("For", platform, "stats:", stats)
- if stats.targetHit() {
+ if stats.targetHit(args.PauseDays) {
return entry.Zero, ErrNothingToSchedule
}