   :known-content-type? #(check-content-type % [application-json])
   :malformed? #(parse-json % ::data)
   :post! (fn [context]
-           (add-event-to-channel channel-id (::data context))
-           {}))
+           (add-event-to-channel channel-id (::data context))))
 
 (defresource channel-subscribers [channel-id]
   :allowed-methods [:post]

  :known-content-type? #(check-content-type % [application-json])
  :malformed? #(parse-json % ::data)
  :post! (fn [context]
           (subscribe-to-channel channel-id (:username (::data context)))
           {}))

(defroutes assemble-routes
  (GET "/" [] "Hello World2")

  :known-content-type? #(check-content-type % [application-json])
  :malformed? #(parse-json % ::data)
  :put! (fn [context]
          (refresh-user-token user-id (:token (::data context)))))

(defresource channel-events [channel-id]
  :allowed-methods [:post]
