From 284df2743539c382e3607b74e1f8539354aee650 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 9 Dec 2018 23:10:02 +0900 Subject: [PATCH] Use camelCase --- src/client/app/desktop/views/components/ui.header.nav.vue | 2 +- src/client/app/desktop/views/components/ui.sidebar.vue | 2 +- src/client/app/mobile/views/components/ui.header.vue | 2 +- src/client/app/mobile/views/components/ui.nav.vue | 2 +- src/server/api/endpoints/games/reversi/match.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/app/desktop/views/components/ui.header.nav.vue b/src/client/app/desktop/views/components/ui.header.nav.vue index aed0c89be0..03a5bf9484 100644 --- a/src/client/app/desktop/views/components/ui.header.nav.vue +++ b/src/client/app/desktop/views/components/ui.header.nav.vue @@ -61,7 +61,7 @@ export default Vue.extend({ this.connection = this.$root.stream.useSharedConnection('main'); this.connection.on('reversiInvited', this.onReversiInvited); - this.connection.on('reversi_no_invites', this.onReversiNoInvites); + this.connection.on('reversiNoInvites', this.onReversiNoInvites); } }, beforeDestroy() { diff --git a/src/client/app/desktop/views/components/ui.sidebar.vue b/src/client/app/desktop/views/components/ui.sidebar.vue index 5b46460114..9bf68f1efe 100644 --- a/src/client/app/desktop/views/components/ui.sidebar.vue +++ b/src/client/app/desktop/views/components/ui.sidebar.vue @@ -111,7 +111,7 @@ export default Vue.extend({ this.connection = this.$root.stream.useSharedConnection('main'); this.connection.on('reversiInvited', this.onReversiInvited); - this.connection.on('reversi_no_invites', this.onReversiNoInvites); + this.connection.on('reversiNoInvites', this.onReversiNoInvites); } }, diff --git a/src/client/app/mobile/views/components/ui.header.vue b/src/client/app/mobile/views/components/ui.header.vue index 0fd722717a..32ec0a9b72 100644 --- a/src/client/app/mobile/views/components/ui.header.vue +++ b/src/client/app/mobile/views/components/ui.header.vue @@ -51,7 +51,7 @@ export default Vue.extend({ this.connection = this.$root.stream.useSharedConnection('main'); this.connection.on('reversiInvited', this.onReversiInvited); - this.connection.on('reversi_no_invites', this.onReversiNoInvites); + this.connection.on('reversiNoInvites', this.onReversiNoInvites); } }, diff --git a/src/client/app/mobile/views/components/ui.nav.vue b/src/client/app/mobile/views/components/ui.nav.vue index 002f95773a..19e02523b7 100644 --- a/src/client/app/mobile/views/components/ui.nav.vue +++ b/src/client/app/mobile/views/components/ui.nav.vue @@ -83,7 +83,7 @@ export default Vue.extend({ this.connection = this.$root.stream.useSharedConnection('main'); this.connection.on('reversiInvited', this.onReversiInvited); - this.connection.on('reversi_no_invites', this.onReversiNoInvites); + this.connection.on('reversiNoInvites', this.onReversiNoInvites); } }, diff --git a/src/server/api/endpoints/games/reversi/match.ts b/src/server/api/endpoints/games/reversi/match.ts index 43b6fc8eed..a3cc523a8c 100644 --- a/src/server/api/endpoints/games/reversi/match.ts +++ b/src/server/api/endpoints/games/reversi/match.ts @@ -66,7 +66,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => { }); if (other == 0) { - publishMainStream(user._id, 'reversi_no_invites'); + publishMainStream(user._id, 'reversiNoInvites'); } } else { // Fetch child