prevents external ledger imports before the client was locked.
This commit is contained in:
@@ -94,6 +94,15 @@
|
||||
"sort_order" "DESC"
|
||||
}}})
|
||||
|
||||
(defn get-order
|
||||
([client location order-id]
|
||||
(log/info "Searching for" (:square-location/client-location location))
|
||||
(let [result (->> (client/get (str "https://connect.squareup.com/v2/orders/" order-id)
|
||||
{:headers (client-base-headers client)
|
||||
:as :json})
|
||||
:body
|
||||
)]
|
||||
result)))
|
||||
|
||||
(defn search
|
||||
([client location d]
|
||||
|
||||
Reference in New Issue
Block a user