content lengths specified.
This commit is contained in:
@@ -48,12 +48,14 @@
|
||||
(s3/put-object :bucket-name (:data-bucket env)
|
||||
:key (str "intuit/access-token")
|
||||
:input-stream (io/make-input-stream (.getBytes t) {})
|
||||
:metadata {:content-type "application/text"}))
|
||||
:metadata {:content-type "application/text"
|
||||
:content-length (count (.getBytes t))}))
|
||||
(defn set-refresh-token [t]
|
||||
(s3/put-object :bucket-name (:data-bucket env)
|
||||
:key (str "intuit/refresh-token")
|
||||
:input-stream (io/make-input-stream (.getBytes t) {})
|
||||
:metadata {:content-type "application/text"}))
|
||||
:metadata {:content-type "application/text"
|
||||
:content-length (count (.getBytes t))}))
|
||||
|
||||
(defn copy-prod-refresh-token []
|
||||
(set-refresh-token (slurp (:object-content (s3/get-object
|
||||
|
||||
Reference in New Issue
Block a user