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

Commit 71c1d4f

Browse files
author
Sachin Maheshwari
committed
typo
1 parent 563510f commit 71c1d4f

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
@@ -17,10 +17,10 @@ const config = require('config')
1717
async function processUpdate(message) {
1818
const createUserId = await helper.getUserId(message.payload.createdBy)
1919
const legacyId = _.get(message, 'payload.legacyId', null)
20-
const v5challengeId = _.get(message, 'payload.id', null)
20+
const v5ChallengeId = _.get(message, 'payload.id', null)
2121

2222
if (!legacyId) {
23-
logger.warn(`payload of challenge ${v5challengeId} does not contain a legacy id`)
23+
logger.warn(`payload of challenge ${v5ChallengeId} does not contain a legacy id`)
2424
}
2525
const grossAmount = _.sumBy(_.flatMap(message.payload.prizeSets, 'prizes'), 'value')
2626

0 commit comments

Comments
 (0)