All: Fixed potential infinite loop when Joplin Server session is invalid

This commit is contained in:
Laurent Cozic committed 2021-10-31 18:33:06 +00:00
1 parent 401f1b1f83
commit c5569ef06d
1 file changed
+1 -1
+1 -1
View File
@@ -65,7 +65,7 @@ export default class JoplinServerApi {
if (this.session_) return this.session_;
try {
this.session_ = await this.exec('POST', 'api/sessions', null, {
this.session_ = await this.exec_('POST', 'api/sessions', null, {
email: this.options_.username(),
password: this.options_.password(),
});