Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit e5a631e

Browse files
author
Dushyant Bhalgami
committed
updates for storing final score along with the provisional
1 parent e933a43 commit e5a631e

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
@@ -41,7 +41,7 @@ const dataHandler = (messageSet, topic, partition) => Promise.each(messageSet, a
4141
return
4242
}
4343

44-
if (messageJSON.payload.resource !== 'review' || messageJSON.payload.resource !== 'reviewSummation') {
44+
if (messageJSON.payload.resource !== 'review' && messageJSON.payload.resource !== 'reviewSummation') {
4545
logger.debug(`Ignoring Non review payloads from topic ${messageJSON.topic}.`)
4646
// ignore the message
4747
return

0 commit comments

Comments
 (0)