Skip to content

Commit

Permalink
cleanup(ApPersonService.ts)
Browse files Browse the repository at this point in the history
  • Loading branch information
okayurisotto committed Jul 3, 2023
1 parent a234675 commit c2c2efb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});

Expand Down

0 comments on commit c2c2efb

Please sign in to comment.