   [{:as darwin :keys [postgres]}
    {:as request :keys [params]}]
   {:pre [(:zinvite params)]}
-  (let [params (->> params
-                    (parsed-params datadump-params)
-                    (params-with-zid darwin)
-                    (params-with-filename))
-        {:keys [zinvite zid filename]} params
+  (let [{:as params :keys [filename]}
+        (parsed-params darwin params)
         ;; Check validity of params here
         _ (log/info "Handling datadump request with params:" (with-out-str (prn params)))
-        datadump (async/thread (run-datadump darwin filename params))
+        datadump (async/thread (run-datadump darwin params))
         timeout (async/timeout (or (:timeout parsed-params) 29000))
         [done? _] (async/alts!! [datadump timeout])]
     (cond

  ([darwin filename]
   (let [expiration (-> darwin :config :export :expiry-days)]
     (generate-aws-url! darwin filename expiration))))


;; What follows is the guts of our responding and computing.

          (-> (make-handler component)
              ring.keyword-params/wrap-keyword-params
              ring.params/wrap-params
              ;; Should really be doing the additional params processing here, but it might change request by request, so need to think at least a bit about this
              (auth/wrap-basic-authentication (partial authenticated? component))
              log-requests)]
      ;redirect-http-to-https-if-required
