                                   (mu/object-id event-id))))
 
 ;; HTTP
+(def http-config-keys [:firebase-api-key])
+(def http-configuration-ok? (config/configuration-ok? http-config-keys *ns*))
+
 (def firebase-send-uri "https://fcm.googleapis.com/fcm/send")
 (def debug-client-token "dHfG35KW8yA:APA91bGFFLRyvqzK6mUYK8DBQloGit9Uq3SZ0VeLq0lP80cCiPYtk1huM1Ls12zbU8nJK9Ag0NJS-3FEJ3pkbX0gMHzHvnbvEXyvIUUkg4aLYBE4rwSuJZiZC6_M-25Ozw119C2N7UE0")
 


(defn def-server []
  (def server
    (jetty/run-jetty #'dev-app
                     {:port 8000
                      :join? false
                      :ssl? true
                      :ssl-port 8443
                      :keystore (str (env :home) "/jetty.keystore")
                      :key-password (env :jetty-keystore-password)})))

(defn restart-server []
  (.stop server)

                  :body (or (:body event) "")
                  :sound "default"}})

(defn add-event-to-channel
  [channel-id event]
  (let [cm (make-reusable-conn-manager {:threads 4 :timeout 10 :default-per-route 5})
