Skip to content

Commit

Permalink
All: Fixed potential infinite loop when Joplin Server session is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent22 committed Oct 31, 2021
1 parent 401f1b1 commit c5569ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/JoplinServerApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
});
Expand Down

0 comments on commit c5569ef

Please sign in to comment.