Skip to content

Commit

Permalink
refactor: add await
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Dec 7, 2022
1 parent d04a160 commit a610576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ export default class BookPlugin extends Plugin {
}

this.settings = { ...DEFAULT_SETTINGS, ...this.settings, today };
this.saveData(this.settings);
await this.saveData(this.settings);
}
}

0 comments on commit a610576

Please sign in to comment.