send-map shouldn't really be returning the actual session agent

This commit is contained in:
Gered 2016-05-09 13:17:13 -04:00
parent 6674d171c3
commit 6916f3efb2

View file

@ -600,7 +600,8 @@
(let [string (json/write-str m)]
(send-off session-agent #(-> %
(queue-string string)
flush-buffer)))))
flush-buffer))
string)))
(defn send-data
"sends data to the client identified by session-id over the backchannel.