From 167da69ae4d6784bcc87e9ebe178fe1039715d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 4 Jan 2017 11:18:14 +0800 Subject: [PATCH] Typo --- notify-term/WNSAuth.js | 2 +- notify-term/app.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/notify-term/WNSAuth.js b/notify-term/WNSAuth.js index 1c07cbe..7c06852 100644 --- a/notify-term/WNSAuth.js +++ b/notify-term/WNSAuth.js @@ -95,7 +95,7 @@ class WNSAuth extends EventEmitter if( retry < 2 ) { this.once( "AuthComplete", () => { - this.Regster( uuid, ChannelUri, handler, retry + 1 ); + this.Register( uuid, ChannelUri, handler, retry + 1 ); }); } else diff --git a/notify-term/app.js b/notify-term/app.js index c1534f8..a97847b 100644 --- a/notify-term/app.js +++ b/notify-term/app.js @@ -67,7 +67,6 @@ class App extends Base switch( query.action ) { case "register": - console.log( "HEiiiiRE" ); this.OAuth.Register( query.id, query.uri, ( sender, mesg ) => { this.result = mesg;