mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Set movedToUri & alsoKnownAs null when undefined
This commit is contained in:
parent
8f4558fa90
commit
55b2708009
1 changed files with 2 additions and 2 deletions
|
@ -413,8 +413,8 @@ export async function updatePerson(
|
|||
isBot: getApType(object) === "Service",
|
||||
isCat: (person as any).isCat === true,
|
||||
isLocked: !!person.manuallyApprovesFollowers,
|
||||
movedToUri: person.movedTo,
|
||||
alsoKnownAs: person.alsoKnownAs,
|
||||
movedToUri: person.movedTo || null,
|
||||
alsoKnownAs: person.alsoKnownAs || null,
|
||||
isExplorable: !!person.discoverable,
|
||||
} as Partial<User>;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue