mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 10:19:06 +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
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
|
||||
resolver.reset();
|
||||
const limit = promiseLimit<Note | null>(2);
|
||||
const featuredNotes = await Promise.all(
|
||||
items
|
||||
|
|
Loading…
Reference in a new issue