Fix bug
This commit is contained in:
parent
97341d3fa0
commit
2934b09361
1 changed files with 1 additions and 2 deletions
|
@ -319,8 +319,6 @@ export async function updatePerson(uri: string, resolver?: Resolver | null, hint
|
||||||
featured: person.featured,
|
featured: person.featured,
|
||||||
emojis: emojiNames,
|
emojis: emojiNames,
|
||||||
name: person.name,
|
name: person.name,
|
||||||
url: person.url,
|
|
||||||
endpoints: person.endpoints,
|
|
||||||
tags,
|
tags,
|
||||||
isBot: object.type == 'Service',
|
isBot: object.type == 'Service',
|
||||||
isCat: (person as any).isCat === true,
|
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 }, {
|
await UserProfiles.update({ userId: exist.id }, {
|
||||||
|
url: person.url,
|
||||||
fields,
|
fields,
|
||||||
description: person.summary ? fromHtml(person.summary) : null,
|
description: person.summary ? fromHtml(person.summary) : null,
|
||||||
twitterUserId: services.twitter.userId,
|
twitterUserId: services.twitter.userId,
|
||||||
|
|
Loading…
Reference in a new issue