mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-01 08:18:51 +09:00
Fix bug
This commit is contained in:
parent
97341d3fa0
commit
2934b09361
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user