mirror of
https://github.com/plankanban/planka.git
synced 2025-07-21 14:19:44 +02:00
chore: Cleanup
Some checks failed
Build and push Docker DEV image / build ([self-hosted arm64], linux/arm/v7) (push) Has been cancelled
Build and push Docker DEV image / build ([self-hosted arm64], linux/arm64) (push) Has been cancelled
Build and push Docker DEV image / build ([self-hosted x64], linux/amd64) (push) Has been cancelled
Build and push Docker DEV image / rerun-failed-jobs (push) Has been cancelled
Build and push Docker DEV image / merge (push) Has been cancelled
Some checks failed
Build and push Docker DEV image / build ([self-hosted arm64], linux/arm/v7) (push) Has been cancelled
Build and push Docker DEV image / build ([self-hosted arm64], linux/arm64) (push) Has been cancelled
Build and push Docker DEV image / build ([self-hosted x64], linux/amd64) (push) Has been cancelled
Build and push Docker DEV image / rerun-failed-jobs (push) Has been cancelled
Build and push Docker DEV image / merge (push) Has been cancelled
This commit is contained in:
parent
bcacfa8fe2
commit
b46fb43e6f
6 changed files with 0 additions and 95 deletions
|
@ -1,5 +1,3 @@
|
|||
const services = require('../../services/slack');
|
||||
|
||||
const Errors = {
|
||||
NOT_ENOUGH_RIGHTS: {
|
||||
notEnoughRights: 'Not enough rights',
|
||||
|
@ -66,12 +64,6 @@ module.exports = {
|
|||
request: this.req,
|
||||
});
|
||||
|
||||
const cardUrl = services.buildCardUrl(card);
|
||||
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); });
|
||||
|
||||
return {
|
||||
item: action,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue