more cleanup.

This commit is contained in:
2021-12-16 21:39:23 -08:00
parent 94af27692c
commit 878ceeaa0b

View File

@@ -87,8 +87,7 @@
(set-refresh-token (doto (:refresh_token response) log/info))
(:access_token response)))
(def prod-base-headers {"Authorization" (str "Bearer " prod-access-token)
"Accept" "application/json"
(def prod-base-headers {"Accept" "application/json"
"Content-Type" "application/json"})
(defn with-auth [t token]
(assoc t "Authorization" (str "Bearer " token)))