This commit is contained in:
syuilo 2019-04-19 21:37:36 +09:00
parent 97341d3fa0
commit 2934b09361
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -319,8 +319,6 @@ export async function updatePerson(uri: string, resolver?: Resolver | null, hint
featured: person.featured,
emojis: emojiNames,
name: person.name,
url: person.url,
endpoints: person.endpoints,
tags,
isBot: object.type == 'Service',
isCat: (person as any).isCat === true,
@ -348,6 +346,7 @@ export async function updatePerson(uri: string, resolver?: Resolver | null, hint
});
await UserProfiles.update({ userId: exist.id }, {
url: person.url,
fields,
description: person.summary ? fromHtml(person.summary) : null,
twitterUserId: services.twitter.userId,