1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-25 16:45:00 +02:00

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,
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,
});