other tweaks
This commit is contained in:
@@ -1283,11 +1283,10 @@
|
||||
[:td (fc/with-field :square-location/client-location
|
||||
(com/text-input {:name (fc/field-name)
|
||||
:value (fc/field-value)}))]]))]]]])
|
||||
(defn refresh-square-locations [request]
|
||||
#_(alog/peek (keys (:query-params request)))
|
||||
|
||||
(defn refresh-square-locations [request]
|
||||
(let [locations @(de/timeout!
|
||||
(de/chain (square/client-locations {:client/square-auth-token (get-in request [:query-params "step-params[client/square-auth-token]"])})
|
||||
(de/chain (square/client-locations {:client/square-auth-token (get-in request [:query-params (keyword "step-params[client/square-auth-token]")])})
|
||||
(fn [client-locations]
|
||||
(into []
|
||||
(for [square-location client-locations]
|
||||
|
||||
Reference in New Issue
Block a user