notifications: rename ALERT_ to TYPE_

This commit is contained in:
Girish Ramakrishnan
2024-12-11 15:18:00 +01:00
parent 6141db8f34
commit ead419003b
10 changed files with 67 additions and 67 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ describe('Eventlog', function () {
for (const e of [ eventlog.ACTION_USER_LOGIN, eventlog.ACTION_USER_LOGIN_GHOST, eventlog.ACTION_USER_LOGOUT, eventlog.ACTION_USER_LOGIN ]) {
const eventId = await eventlog.add(e, { ip: '1.2.3.4' }, { appId: 'thatapp' });
await notifications._add(notifications.ALERT_APP_UPDATED, 'title', 'some message', { eventId });
await notifications._add(notifications.TYPE_APP_UPDATED, 'title', 'some message', { eventId });
}
await timers.setTimeout(3000);