mirror of
https://github.com/plankanban/planka.git
synced 2025-07-20 21:59:43 +02:00
updated to use currentUser.name for messages
This commit is contained in:
parent
a9c200cc3b
commit
86d21d6abd
4 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ module.exports = {
|
|||
});
|
||||
|
||||
const cardUrl = services.buildCardUrl(card);
|
||||
const messageText = '*' + currentUser.username + '* commented on ' + cardUrl + ':\n>' + inputs.text;
|
||||
const messageText = '*' + currentUser.name + '* commented on ' + cardUrl + ':\n>' + inputs.text;
|
||||
services.sendSlackMessage(messageText)
|
||||
.then(() => { console.log('Slack message sent successfully.'); })
|
||||
.catch((error) => { console.error('Failed to send Slack message:', error.message); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue