cleanup(ApPersonService.ts)

This commit is contained in:
okayurisotto 2023-07-03 20:39:48 +09:00
parent a234675eed
commit c2c2efb7fb

View file

@ -506,7 +506,7 @@ export class ApPersonService implements OnModuleInit {
url, url,
fields, fields,
description: person.summary ? this.apMfmService.htmlToMfm(truncate(person.summary, summaryLength), person.tag) : null, description: person.summary ? this.apMfmService.htmlToMfm(truncate(person.summary, summaryLength), person.tag) : null,
birthday: bday ? bday[0] : null, birthday: bday?.[0] ?? null,
location: person['vcard:Address'] ?? null, location: person['vcard:Address'] ?? null,
}); });