Fix bug
This commit is contained in:
parent
debe648a98
commit
a95546ede0
1 changed files with 2 additions and 2 deletions
|
@ -318,11 +318,9 @@ export async function updatePerson(uri: string, resolver?: Resolver | null, hint
|
||||||
sharedInbox: person.sharedInbox || (person.endpoints ? person.endpoints.sharedInbox : undefined),
|
sharedInbox: person.sharedInbox || (person.endpoints ? person.endpoints.sharedInbox : undefined),
|
||||||
featured: person.featured,
|
featured: person.featured,
|
||||||
emojis: emojiNames,
|
emojis: emojiNames,
|
||||||
description: person.summary ? fromHtml(person.summary) : null,
|
|
||||||
name: person.name,
|
name: person.name,
|
||||||
url: person.url,
|
url: person.url,
|
||||||
endpoints: person.endpoints,
|
endpoints: person.endpoints,
|
||||||
fields,
|
|
||||||
tags,
|
tags,
|
||||||
isBot: object.type == 'Service',
|
isBot: object.type == 'Service',
|
||||||
isCat: (person as any).isCat === true,
|
isCat: (person as any).isCat === true,
|
||||||
|
@ -350,6 +348,8 @@ export async function updatePerson(uri: string, resolver?: Resolver | null, hint
|
||||||
});
|
});
|
||||||
|
|
||||||
await UserProfiles.update({ userId: exist.id }, {
|
await UserProfiles.update({ userId: exist.id }, {
|
||||||
|
fields,
|
||||||
|
description: person.summary ? fromHtml(person.summary) : null,
|
||||||
twitterUserId: services.twitter.userId,
|
twitterUserId: services.twitter.userId,
|
||||||
twitterScreenName: services.twitter.screenName,
|
twitterScreenName: services.twitter.screenName,
|
||||||
githubId: services.github.id,
|
githubId: services.github.id,
|
||||||
|
|
Loading…
Reference in a new issue