mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-02 16:37:36 +01:00
Fix sharedInbox recovery code (#3840)
This commit is contained in:
parent
6697ca243c
commit
cd4be4116b
1 changed files with 2 additions and 0 deletions
|
@ -376,6 +376,8 @@ export async function updatePerson(uri: string, resolver?: Resolver, hint?: obje
|
||||||
$set: {
|
$set: {
|
||||||
'_follower.sharedInbox': person.sharedInbox || (person.endpoints ? person.endpoints.sharedInbox : undefined)
|
'_follower.sharedInbox': person.sharedInbox || (person.endpoints ? person.endpoints.sharedInbox : undefined)
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
multi: true
|
||||||
});
|
});
|
||||||
|
|
||||||
await updateFeatured(exist._id).catch(err => console.log(err));
|
await updateFeatured(exist._id).catch(err => console.log(err));
|
||||||
|
|
Loading…
Reference in a new issue