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

Commit c27a936

Browse files
fix issue with nested array in ommittedFields
1 parent 1189b5a commit c27a936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/syncService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async function processChallenge (legacyId, challengeListing, challengeDetails) {
7676
}
7777
}
7878

79-
const ommittedFields = [['id', 'type', 'track', 'typeId', 'trackId', 'prizeSets']]
79+
const ommittedFields = ['id', 'type', 'track', 'typeId', 'trackId', 'prizeSets']
8080

8181
if (v5ChallengeObjectFromV4.descriptionFormat !== 'HTML') {
8282
ommittedFields.push('description')

0 commit comments

Comments
 (0)