onebots 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -109,7 +109,7 @@ class CommonAction {
|
|
|
109
109
|
return this.action.callLogin.apply(this, ['login', password]);
|
|
110
110
|
}
|
|
111
111
|
async submitSmsCode(code) {
|
|
112
|
-
return this.action.
|
|
112
|
+
return this.action.callLogin.apply(this, ['submitSmsCode', code]);
|
|
113
113
|
}
|
|
114
114
|
sendSmsCode() {
|
|
115
115
|
return this.client.sendSmsCode();
|
|
@@ -70,7 +70,7 @@ class CommonAction {
|
|
|
70
70
|
return this.action.callLogin.apply(this, ['login', password]);
|
|
71
71
|
}
|
|
72
72
|
async submitSmsCode(code) {
|
|
73
|
-
return this.action.
|
|
73
|
+
return this.action.callLogin.apply(this, ['submitSmsCode', code]);
|
|
74
74
|
}
|
|
75
75
|
sendSmsCode() {
|
|
76
76
|
return this.client.sendSmsCode();
|