Skip to content

Commit 594b7b3

Browse files
authored
Merge pull request #69 from Colinh84/issue_1740
Issue 1740: No notification triggered for active status
2 parents 73193d1 + 5b5a1eb commit 594b7b3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export const BUS_API_EVENT = {
6060
PROJECT_PAUSED: 'notifications.connect.project.paused',
6161
PROJECT_COMPLETED: 'notifications.connect.project.completed',
6262
PROJECT_CANCELED: 'notifications.connect.project.canceled',
63+
PROJECT_ACTIVE: 'notifications.connect.project.active',
6364

6465
MEMBER_JOINED: 'notifications.connect.project.member.joined',
6566
MEMBER_LEFT: 'notifications.connect.project.member.left',

src/events/busApi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const mapEventTypes = {
1414
[PROJECT_STATUS.COMPLETED]: BUS_API_EVENT.PROJECT_COMPLETED,
1515
[PROJECT_STATUS.CANCELLED]: BUS_API_EVENT.PROJECT_CANCELED,
1616
[PROJECT_STATUS.PAUSED]: BUS_API_EVENT.PROJECT_PAUSED,
17+
[PROJECT_STATUS.ACTIVE]: BUS_API_EVENT.PROJECT_ACTIVE,
1718
};
1819

1920
module.exports = (app, logger) => {

0 commit comments

Comments
 (0)