cleanup(ApPersonService.ts
)
This commit is contained in:
parent
a234675eed
commit
c2c2efb7fb
|
@ -506,7 +506,7 @@ export class ApPersonService implements OnModuleInit {
|
|||
url,
|
||||
fields,
|
||||
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,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue