diff --git a/src/constants.js b/src/constants.js index dba0e48a..e642eb66 100644 --- a/src/constants.js +++ b/src/constants.js @@ -60,6 +60,7 @@ export const BUS_API_EVENT = { PROJECT_PAUSED: 'notifications.connect.project.paused', PROJECT_COMPLETED: 'notifications.connect.project.completed', PROJECT_CANCELED: 'notifications.connect.project.canceled', + PROJECT_ACTIVE: 'notifications.connect.project.active', MEMBER_JOINED: 'notifications.connect.project.member.joined', MEMBER_LEFT: 'notifications.connect.project.member.left', diff --git a/src/events/busApi.js b/src/events/busApi.js index 84699623..ac5f7b45 100644 --- a/src/events/busApi.js +++ b/src/events/busApi.js @@ -14,6 +14,7 @@ const mapEventTypes = { [PROJECT_STATUS.COMPLETED]: BUS_API_EVENT.PROJECT_COMPLETED, [PROJECT_STATUS.CANCELLED]: BUS_API_EVENT.PROJECT_CANCELED, [PROJECT_STATUS.PAUSED]: BUS_API_EVENT.PROJECT_PAUSED, + [PROJECT_STATUS.ACTIVE]: BUS_API_EVENT.PROJECT_ACTIVE, }; module.exports = (app, logger) => {