Commit d48026c9 authored by toby's avatar toby

new format

parent 8db75b58
......@@ -60,7 +60,7 @@
(let [event (-> (last (:tracks session))
(assoc :userId (:userId session))
(assoc :user (:user session))
(assoc :sessionId (str (:_id session))))]
(assoc :sessionId (:sessionId session)))]
(publish "/play" event)
(publish (str "/play/" (route-encode (:user session))) event))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment