fixing minor bugs in general produce import
This commit is contained in:
@@ -631,7 +631,7 @@
|
||||
|
||||
(defn cash-drawer-shifts
|
||||
([client l]
|
||||
(cash-drawer-shifts client l (time/plus (time/now) (time/days -14)) (time/now)))
|
||||
(cash-drawer-shifts client l (time/plus (time/now) (time/days -75)) (time/now)))
|
||||
([client l start end]
|
||||
(de/chain (manifold-api-call {:url (str "https://connect.squareup.com/v2/cash-drawers/shifts"
|
||||
"?"
|
||||
@@ -639,7 +639,8 @@
|
||||
(url/map->query
|
||||
{:location_id (:square-location/square-id l)
|
||||
:begin_time (->square-date start)
|
||||
:end_time (->square-date end)}))
|
||||
:end_time (->square-date end)
|
||||
:limit 1000}))
|
||||
:method :get
|
||||
|
||||
:headers (client-base-headers client "2023-04-19")
|
||||
|
||||
Reference in New Issue
Block a user