Skip to content

Commit 40b823d

Browse files
author
Vikas Agarwal
committed
Fixed the constant import
1 parent e82e9a4 commit 40b823d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/projectMemberInvites/create.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { middleware as tcMiddleware } from 'tc-core-library-js';
88
import models from '../../models';
99
import util from '../../util';
1010
import { PROJECT_MEMBER_ROLE, PROJECT_MEMBER_MANAGER_ROLES,
11-
MANAGER_ROLES, INVITE_STATUS, EVENT, PROJECT_MEMBER_EMAIL_INVITE_CREATED } from '../../constants';
11+
MANAGER_ROLES, INVITE_STATUS, EVENT, BUS_API_EVENT } from '../../constants';
1212
import { createEvent } from '../../services/busApi';
1313

1414

@@ -151,7 +151,7 @@ module.exports = [
151151
raw: true,
152152
})
153153
.then((_project) => {
154-
createEvent(PROJECT_MEMBER_EMAIL_INVITE_CREATED,
154+
createEvent(BUS_API_EVENT.PROJECT_MEMBER_EMAIL_INVITE_CREATED,
155155
{
156156
data: {
157157
date: (new Date()).toISOString(),

0 commit comments

Comments
 (0)