mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 22:19:40 +08:00
style: auto format
This commit is contained in:
@@ -114,9 +114,7 @@ const getNotes = (url, cache) =>
|
||||
const notesPromise = userPosted.data.notes.map((n) => {
|
||||
const noteUrl = url + '/' + n.note_id;
|
||||
|
||||
return cache.tryGet(
|
||||
noteUrl,
|
||||
async () => {
|
||||
return cache.tryGet(noteUrl, async () => {
|
||||
const notePage = await browser.newPage();
|
||||
await setPageFilter(notePage);
|
||||
|
||||
@@ -158,8 +156,7 @@ const getNotes = (url, cache) =>
|
||||
} else {
|
||||
throw Error(`Could not get note ${n.note_id}`);
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
user = otherInfo.data.basic_info;
|
||||
|
||||
Reference in New Issue
Block a user