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

Commit 9668352

Browse files
committed
Missed the merge apparently?
1 parent e68c46d commit 9668352

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/services/syncService.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,12 @@ async function processChallenge (legacyId, challengeListing, challengeDetails) {
8989
const challengeV4Prizes = _.get(v5ChallengeObjectFromV4, 'prizeSets', [])
9090
// logger.debug(`v4 prizes: ${JSON.stringify(challengeV4Prizes)}`)
9191
const challengeV5APIPrizes = _.get(v5ChallengeFromAPI, 'prizeSets', [])
92-
<<<<<<< Updated upstream
9392
logger.debug(`v5 prizes: ${JSON.stringify(challengeV5APIPrizes)}`)
9493
const prizeSets = _.filter([
9594
..._.intersectionBy(challengeV4Prizes, challengeV5APIPrizes, 'type'),
9695
..._.differenceBy(challengeV5APIPrizes, challengeV4Prizes, 'type')
9796
], entry => entry.type !== config.COPILOT_PAYMENT_TYPE)
9897
logger.debug(`intersection: ${JSON.stringify(prizeSets)}`)
99-
=======
100-
// logger.debug(`v5 prizes: ${JSON.stringify(challengeV5APIPrizes)}`)
101-
const prizeSets = [
102-
..._.intersectionBy(challengeV4Prizes, challengeV5APIPrizes, 'type'),
103-
..._.differenceBy(challengeV5APIPrizes, challengeV4Prizes, 'type')
104-
]
105-
// logger.debug(`intersection: ${JSON.stringify(prizeSets)}`)
106-
>>>>>>> Stashed changes
10798

10899
const copilotPayment = await challengeIfxService.getCopilotPaymentFromIfx(legacyId)
109100
if (copilotPayment) {

0 commit comments

Comments
 (0)