Fix bug and refactor

This commit is contained in:
syuilo
2018-10-09 15:08:31 +09:00
parent ba1c823fb1
commit 136b13e7ca
10 changed files with 101 additions and 104 deletions

View File

@ -71,8 +71,7 @@ export default Vue.extend({
this.pingClock = setInterval(() => {
if (this.matching) {
this.connection.send({
type: 'ping',
this.connection.send('ping', {
id: this.matching.id
});
}