Getty Ritter 5 лет назад
Родитель
Сommit
50841ec9b8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      static/main.js

+ 1 - 1
static/main.js

@@ -72,7 +72,7 @@ class Socket {
     }
 
     post(author, content) {
-        this.socket.send(Messages.config(author, content));
+        this.socket.send(Messages.post(author, content));
     }
 }