Skip to content

Commit f7bf4d4

Browse files
authored
hotfix: slack props (#3436)
1 parent 0d0b3d3 commit f7bf4d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/workers/candidateReviewOpportunitySlack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const worker: TypedWorker<'gondul.v1.candidate-application-scored'> = {
8989
fields: [
9090
{
9191
type: 'mrkdwn',
92-
text: `*Application Score:*\n${applicationScore != null ? `${Math.round(applicationScore)}%` : 'N/A'}`,
92+
text: `*Application Score:*\n${applicationScore != null ? `${applicationScore.toFixed(1)}` : 'N/A'}`,
9393
},
9494
{
9595
type: 'mrkdwn',
@@ -123,7 +123,7 @@ const worker: TypedWorker<'gondul.v1.candidate-application-scored'> = {
123123
type: 'section' as const,
124124
text: {
125125
type: 'mrkdwn' as const,
126-
text: `*Application Summary:*\n${truncateText(description)}`,
126+
text: `*Application Summary:*\n${description}`,
127127
},
128128
},
129129
]

0 commit comments

Comments
 (0)