Skip to content

Commit

Permalink
damn. fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrazasp committed May 3, 2024
1 parent 56ef361 commit df42651
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions services/events.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@ export type EventBodyJSON = {
};

export function toEventBodyMarkdown(data: EventBodyJSON[]) {
return data
.map((i) => {
`**${i.title}**: ${i.value || ''}`;
})
.join('\n\n');
return data.map((i) => `**${i.title}**: ${i.value || ''}`).join('\n\n');
}

interface Populates extends CommonPopulates {
Expand Down

0 comments on commit df42651

Please sign in to comment.