Skip to content

Commit

Permalink
🔧 fix(lib/database/services/appointment-slack): remove unnecessary em…
Browse files Browse the repository at this point in the history
…oji properties from text objects
  • Loading branch information
sakiila committed Feb 5, 2025
1 parent ce33777 commit 62ab757
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions lib/database/services/appointment-slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ function addAdditionalInfo(blocks: any[], userId: string) {
type: 'section',
text: {
type: 'mrkdwn',
text: `Query by <@${userId}> on ${formatTimestamp(new Date().getTime())}(UTC)`,
emoji: false,
text: `Query by <@${userId}> on ${formatTimestamp(new Date().getTime())}(UTC)`
},
});
}
Expand All @@ -222,8 +221,7 @@ function addOrderInfo(order: any): any[] {
type: 'header',
text: {
type: 'plain_text',
text: `Order #${order.id}`,
emoji: false,
text: `Order #${order.id}`
},
});

Expand Down Expand Up @@ -293,8 +291,7 @@ function addPetDetailInfo(petDetails: any[]): any[] {
type: 'header',
text: {
type: 'plain_text',
text: '*Pet Service Details*',
emoji: false,
text: 'Pet Service Details'
},
});

Expand Down Expand Up @@ -367,8 +364,7 @@ function addAppointmentInfo(appointment: any): any[] {
type: 'header',
text: {
type: 'plain_text',
text: `Appointment #${appointment.id}`,
emoji: false,
text: `Appointment #${appointment.id}`
},
});

Expand Down

0 comments on commit 62ab757

Please sign in to comment.