Skip to content

Commit

Permalink
(backend) Fix slack messages showing the channel's id instead of its …
Browse files Browse the repository at this point in the history
…name
  • Loading branch information
cmd-johnson committed Dec 5, 2021
1 parent 83d8cd9 commit 7f52239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/routes/api/pings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function getRouter(options: {
formattedText,
'\n\n',
`> ${dayjs(pingDate).format('YYYY-MM-DD HH:mm:ss')} `,
`- *${characterName}* to #${template.slackChannelId}`,
`- *${characterName}* to #${template.slackChannelName}`,
].join('')
const slackMessageId = await options.slackClient.postMessage(
template.slackChannelId,
Expand Down

0 comments on commit 7f52239

Please sign in to comment.