Skip to content

Commit

Permalink
Merge pull request #3 from hegerdes/fix-periodic-sync-lock
Browse files Browse the repository at this point in the history
fix: infinite loop on note update - close #2
  • Loading branch information
hegerdes committed Jun 16, 2023
2 parents 62c8174 + 3537774 commit ba76377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const getAllNotes = async (): Promise<Map<String, Object>> => {
data.items.forEach((entry) => notes.set(entry.id, entry));
while (data.has_more) {
pageNum++;
let data = await joplin.data.get(["notes"], {
data = await joplin.data.get(["notes"], {
fields: query_fields,
limit: notes_query_limit,
page: pageNum,
Expand Down

0 comments on commit ba76377

Please sign in to comment.