mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
Fix fetching pinned notes for remote servers that return a collection of note URIs instead of AP objects, resolves #201
This commit is contained in:
parent
02dc687705
commit
1ce0f778e7
1 changed files with 1 additions and 0 deletions
|
@ -724,6 +724,7 @@ export async function updateFeatured(userId: User["id"], resolver?: Resolver) {
|
||||||
);
|
);
|
||||||
|
|
||||||
// Resolve and regist Notes
|
// Resolve and regist Notes
|
||||||
|
resolver.reset();
|
||||||
const limit = promiseLimit<Note | null>(2);
|
const limit = promiseLimit<Note | null>(2);
|
||||||
const featuredNotes = await Promise.all(
|
const featuredNotes = await Promise.all(
|
||||||
items
|
items
|
||||||
|
|
Loading…
Reference in a new issue