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

Commit 713596b

Browse files
author
Sachin Maheshwari
committed
correcting logic
1 parent 5d6cef4 commit 713596b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/ProcessorService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async function processCreate (message, transactionId) {
8686
await helper.updateOrg(message.payload.organizationId, org, seqNo, primaryTerm, transactionId)
8787
}
8888
} else {
89-
logger.info(`Ignore this message since resource is not in [${_.union(_.keys(fixedTopResources), _.keys(userResources), _.keys(organizationResources))}]`)
89+
logger.info(`Ignore this message since resource is not in [${_.union(_.values(fixedTopResources), _.keys(userResources), _.keys(organizationResources))}]`)
9090
}
9191
}
9292

@@ -179,7 +179,7 @@ async function processUpdate (message, transactionId) {
179179
await helper.updateOrg(message.payload.organizationId, org, seqNo, primaryTerm, transactionId)
180180
}
181181
} else {
182-
logger.info(`Ignore this message since resource is not in [${_.union(_.keys(fixedTopResources), _.keys(userResources), _.keys(organizationResources))}]`)
182+
logger.info(`Ignore this message since resource is not in [${_.union(_.values(fixedTopResources), _.keys(userResources), _.keys(organizationResources))}]`)
183183
}
184184
}
185185

0 commit comments

Comments
 (0)