mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Set movedToUri & alsoKnownAs null when undefined
This commit is contained in:
parent
8f4558fa90
commit
55b2708009
@ -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…
Reference in New Issue
Block a user