mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
updated to use currentUser.name for messages
This commit is contained in:
parent
ced916f0ce
commit
f11fa8d504
4 changed files with 4 additions and 4 deletions
|
@ -203,7 +203,7 @@ module.exports = {
|
|||
|
||||
if (cardMoved) {
|
||||
const cardUrl = services.buildCardUrl(card);
|
||||
const messageText = cardUrl + ' was moved by ' + currentUser.username + ' to *' + nextList.name + '*';
|
||||
const messageText = cardUrl + ' was moved by ' + currentUser.name + ' to *' + nextList.name + '*';
|
||||
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