disables settlements in historical loads too.

This commit is contained in:
Bryce
2023-07-25 15:34:08 -07:00
parent 7336398f9d
commit 8f5caf9a81

View File

@@ -35,8 +35,7 @@
(square/upsert-refunds client square-location)
(println "settlements")
(with-redefs [square/lookup-dates (fn lookup-dates []
#_(with-redefs [square/lookup-dates (fn lookup-dates []
(->> (per/periodic-seq (time/plus (time/today) (time/days (- days)))
(time/today)
(time/days 2))
@@ -68,8 +67,7 @@
@(square3/upsert-refunds client square-location)
(println "settlements")
(with-redefs [square3/lookup-dates (fn lookup-dates []
#_(with-redefs [square3/lookup-dates (fn lookup-dates []
(->> (per/periodic-seq (time/plus (time/today) (time/days (- days)))
(time/today)
(time/days 2))