making compile great again.
This commit is contained in:
@@ -26,9 +26,7 @@
|
||||
(def company-id "4620816365202617680")
|
||||
|
||||
(def base-url "https://sandbox-quickbooks.api.intuit.com/v3")
|
||||
(def base-headers {"Authorization" (str "Bearer " access-token)
|
||||
"Accept" "application/json"
|
||||
"Content-Type" "application/json"})
|
||||
|
||||
|
||||
(def prod-client-id "ABFRwAiOqQiLN66HKplXfyRE3ipD390DHsrUquflRCiOa81mxa")
|
||||
(def prod-client-secret "xDUj04GeQXpLvrhxep1jjDYwjJWbzzOPrirUQTKF")
|
||||
@@ -86,7 +84,7 @@
|
||||
"refresh_token" refresh-token}
|
||||
:as :json}))]
|
||||
(set-access-token (:access_token response))
|
||||
(set-refresh-token (:refresh_token response))
|
||||
(set-refresh-token (doto (:refresh_token response) log/info))
|
||||
(:access_token response)))
|
||||
|
||||
(def prod-base-headers {"Authorization" (str "Bearer " prod-access-token)
|
||||
|
||||
Reference in New Issue
Block a user