From d939e552f3b42a3f38981c9e650001f01a73bfad Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 26 Feb 2018 19:23:53 +0900 Subject: Fix bugs --- src/web/app/common/scripts/streaming/home-stream.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/web/app/common/scripts/streaming/home-stream.ts') diff --git a/src/web/app/common/scripts/streaming/home-stream.ts b/src/web/app/common/scripts/streaming/home-stream.ts index b8e417b6d4..57bf0ec2a6 100644 --- a/src/web/app/common/scripts/streaming/home-stream.ts +++ b/src/web/app/common/scripts/streaming/home-stream.ts @@ -1,11 +1,11 @@ import Stream from './stream'; -import signout from '../signout'; +import MiOS from '../../mios'; /** * Home stream connection */ export default class Connection extends Stream { - constructor(me) { + constructor(os: MiOS, me) { super('', { i: me.token }); @@ -25,7 +25,7 @@ export default class Connection extends Stream { // このままではAPIが利用できないので強制的にサインアウトさせる this.on('my_token_regenerated', () => { alert('%i18n:common.my-token-regenerated%'); - signout(); + os.signout(); }); } } -- cgit v1.2.3-freya