disables square import of settlements, because it is currently broken.

This commit is contained in:
Bryce
2023-07-25 09:27:21 -07:00
parent 5b5b15cb27
commit 42ae36d487
2 changed files with 2 additions and 2 deletions

View File

@@ -507,7 +507,7 @@
(try+ (try+
(upsert-locations client) (upsert-locations client)
(upsert client) (upsert client)
(upsert-settlements client) #_(upsert-settlements client) ;; currently settlements v1 is broken
(upsert-refunds client) (upsert-refunds client)
(mark-integration-status client {:integration-status/state :integration-state/success (mark-integration-status client {:integration-status/state :integration-state/success
:integration-status/last-updated (coerce/to-date (time/now))}) :integration-status/last-updated (coerce/to-date (time/now))})

View File

@@ -780,7 +780,7 @@
(mu/with-context lc (mu/with-context lc
(log/info ::upsert-orders-started) (log/info ::upsert-orders-started)
(upsert client))) (upsert client)))
(fn [_] #_(fn [_] ;; settlements are currently disabled (v1)
(mu/with-context lc (mu/with-context lc
(log/info ::upsert-settlements-started) (log/info ::upsert-settlements-started)
(upsert-settlements client))) (upsert-settlements client)))