Skip to content

Commit 406040a

Browse files
authored
Update app.js
1 parent f956bd8 commit 406040a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function startKafkaConsumer(handlers) {
5252
// save notifications
5353
.then((notifications) => Promise.all(_.map(notifications, (notification) => models.Notification.create({
5454
userId: notification.userId,
55-
type: notification.newType | topicName,
55+
type: notification.newType || topicName,
5656
version: notification.version || null,
5757
contents: _.extend({}, messageJSON, notification.contents),
5858
read: false,

0 commit comments

Comments
 (0)