Skip to content

Commit edc929c

Browse files
DarMontouDarMontou
DarMontou
authored and
DarMontou
committed
use :message instead of :msg in message map
1 parent 2bf239a commit edc929c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-cljs/chatb0x/core.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
(defn send-message [id]
5050
(let [message (.-value (by-id id))]
51-
(.send socket {:msg message :host host :path path})
51+
(.send socket {:message message :host host :path path})
5252
(set! (.-value (by-id id)) nil)
5353
(println "chatb0x sent message:" message)))
5454

0 commit comments

Comments
 (0)