change event name
This commit is contained in:
parent
8afebef973
commit
e5bd9dc022
1 changed files with 2 additions and 2 deletions
|
@ -40,9 +40,9 @@ export default class TNC extends EventEmitter {
|
||||||
socket.on("ready", (data) => {
|
socket.on("ready", (data) => {
|
||||||
this.emit("ready", data);
|
this.emit("ready", data);
|
||||||
});
|
});
|
||||||
socket.on("DISCORD_VERIFICATION", (data) => {
|
socket.on("discord_verification", (data) => {
|
||||||
let d = JSON.parse(JSON.stringify(data));
|
let d = JSON.parse(JSON.stringify(data));
|
||||||
this.emit("DISCORD_VERIFICATION", d.id);
|
this.emit("discord_verification", d.id);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue