                 :answer/ts (:ts answer)
                 :question/_answers (:question-id answer)})]
       @(d/transact db-conn tx)
-      (log/infof "Successfully Submitted % answers to %s for %s" (count answers) domain user))
+      (log/infof "Successfully Submitted %s answers to %s for %s" (count answers) domain user))
     (catch Exception e
       (log/errorf e "Failed to submit answers %s for domain %s and user %s"
                   (pr-str answers) domain user)


(defn submit-answers [db-conn domain user answers]
  (try
    (log/infof "Submitting % answers to %s for %s" (count answers) domain user)
    (let [db (d/db db-conn)
          user-eid (d/q '[:find ?member .
                          :in $ ?domain ?user

  (let [scheduler (scheduler/start (scheduler/initialize))
        db-conn (d/connect db-uri)]
    (init-start-jobs scheduler db-conn)
    (future (listen-for-team-updates scheduler db-conn))))

(comment

  ;; for testing
  (defonce slack-token (or (System/getenv "SLACK_TOKEN")
                           (throw (ex-info "No SLACK_TOKEN provided" {}))) )


  ;; db stuff

