Updates to squares preferred limit of 1000

This commit is contained in:
2024-03-11 08:21:07 -07:00
parent 7b622b945a
commit ae5d2a1b32

View File

@@ -211,7 +211,7 @@
:method :post
:headers (client-base-headers client)
:body (json/write-str (cond-> {"location_ids" [(:square-location/square-id location)]
"limit" 10000
"limit" 1000
"cursor" cursor}
start (merge (pc start end))))
:as :json})
@@ -238,7 +238,7 @@
(de/chain (manifold-api-call {:url "https://connect.squareup.com/v2/orders/search"
:method :post
:headers (client-base-headers client)
:body (json/write-str (cond-> {"location_ids" [(:square-location/square-id location)] "limit" 10000}
:body (json/write-str (cond-> {"location_ids" [(:square-location/square-id location)] "limit" 1000}
start (merge (pc start end))))
:as :json})
:body