mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 01:11:13 +03:00
updated to use currentUser.name for messages
This commit is contained in:
@@ -56,7 +56,7 @@ module.exports = {
|
||||
throw Errors.CARD_NOT_FOUND;
|
||||
}
|
||||
|
||||
const messageText = '*' + card.name + '* was deleted by ' + currentUser.username;
|
||||
const messageText = '*' + card.name + '* was deleted by ' + currentUser.name;
|
||||
services.sendSlackMessage(messageText)
|
||||
.then(() => { console.log('Slack message sent successfully.'); })
|
||||
.catch((error) => { console.error('Failed to send Slack message:', error.message); });
|
||||
|
||||
Reference in New Issue
Block a user