   (reset-server!)
 
   ;(client/request)
-  (let [params {:basic-auth [(:server-auth-username env/env)
-                             (:server-auth-pass env/env)]
+  (let [params {:basic-auth [(:export-server-auth-username env/env)
+                             (:export-server-auth-pass env/env)]
                 :query-params {:zinvite "6sc6vt"
                                ;:at-date 
                                :format "csv"}}]

;; # Implement

;; Set up env variables in server: :export-aws-link-expiration, :export-expiry-days, :server-port,
;; :server-auth-username, :server-auth-pass, :aws-access-key, :aws-secret-key

;; Error handling on export fail...




;; Requests for exported files in aws.
:
(defn redirect-to-aws-url
  "Creates a redirection response, which redirects to the aws download link."
  [aws-cred filename]
