mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01: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
@ -724,6 +724,7 @@ export async function updateFeatured(userId: User["id"], resolver?: Resolver) {
|
||||
);
|
||||
|
||||
// Resolve and regist Notes
|
||||
resolver.reset();
|
||||
const limit = promiseLimit<Note | null>(2);
|
||||
const featuredNotes = await Promise.all(
|
||||
items
|
||||
|
Loading…
Reference in New Issue
Block a user