style: auto format

This commit is contained in:
github-actions[bot]
2023-05-15 14:17:07 +00:00
parent d0d3b6b870
commit 9bdba060c7

View File

@@ -114,9 +114,7 @@ const getNotes = (url, cache) =>
const notesPromise = userPosted.data.notes.map((n) => { const notesPromise = userPosted.data.notes.map((n) => {
const noteUrl = url + '/' + n.note_id; const noteUrl = url + '/' + n.note_id;
return cache.tryGet( return cache.tryGet(noteUrl, async () => {
noteUrl,
async () => {
const notePage = await browser.newPage(); const notePage = await browser.newPage();
await setPageFilter(notePage); await setPageFilter(notePage);
@@ -158,8 +156,7 @@ const getNotes = (url, cache) =>
} else { } else {
throw Error(`Could not get note ${n.note_id}`); throw Error(`Could not get note ${n.note_id}`);
} }
} });
);
}); });
user = otherInfo.data.basic_info; user = otherInfo.data.basic_info;