Skip to content

Commit dc0f42b

Browse files
authored
Update notifications.js
1 parent 681c2db commit dc0f42b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/routes/notifications/constants/notifications.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export const NOTIFICATIONS = [
224224
},
225225

226226
{
227-
eventType: EVENT_TYPE.MEMBER.COPILOT_ADDED,
227+
eventType: EVENT_TYPE.MEMBER.INVITE_APPROVED,
228228
type: NOTIFICATION_TYPE.MEMBER_ADDED,
229229
rules: [{
230230
text: 'You are added as a copilot',
@@ -248,12 +248,12 @@ export const NOTIFICATIONS = [
248248
},
249249

250250
{
251-
eventType: EVENT_TYPE.MEMBER.INVITE_APPROVED,
251+
eventType: EVENT_TYPE.MEMBER.COPILOT_JOINED,
252252
type: NOTIFICATION_TYPE.MEMBER_ADDED,
253253
rules: [{
254-
text: 'A member joined your project team',
254+
text: 'A copilot joined your project team',
255255
shouldBundle: true,
256-
bundledText: '{{bundledCount}} members joined your project team',
256+
bundledText: '{{bundledCount}} copilots joined your project team',
257257
projectRoles: [PROJECT_ROLE_OWNER, PROJECT_ROLE_COPILOT, PROJECT_ROLE_MANAGER],
258258
goTo: GOTO.PROJECT_DASHBOARD
259259
}]

0 commit comments

Comments
 (0)