updatePersonで再割り当てを考慮する
This commit is contained in:
parent
eee98358ac
commit
15eaebe522
@ -293,7 +293,12 @@ export async function updatePerson(uri: string, resolver?: Resolver): Promise<vo
|
|||||||
endpoints: person.endpoints,
|
endpoints: person.endpoints,
|
||||||
isBot: object.type == 'Service',
|
isBot: object.type == 'Service',
|
||||||
isCat: (person as any).isCat === true ? true : false,
|
isCat: (person as any).isCat === true ? true : false,
|
||||||
isLocked: person.manuallyApprovesFollowers
|
isLocked: person.manuallyApprovesFollowers,
|
||||||
|
createdAt: Date.parse(person.published) || null,
|
||||||
|
publicKey: {
|
||||||
|
id: person.publicKey.id,
|
||||||
|
publicKeyPem: person.publicKey.publicKeyPem
|
||||||
|
},
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user