data already in data
This commit is contained in:
parent
0348ca1ecc
commit
ae0da17533
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ io.on('connection',socket => {
|
||||||
|
|
||||||
socket.on('general',function(data){
|
socket.on('general',function(data){
|
||||||
const username = data.username;
|
const username = data.username;
|
||||||
const date = Date.now();
|
const date = data.date;
|
||||||
const channel = 'general';
|
const channel = 'general';
|
||||||
const message = data.message;
|
const message = data.message;
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue