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

Commit 06f0a86

Browse files
authored
Merge pull request #48 from topcoder-platform/omit-tags
Omit tags
2 parents f258da1 + c42fe5c commit 06f0a86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/syncService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ async function processChallenge (legacyId, challengeListing, challengeDetails) {
137137
..._.omit(v5ChallengeFromAPI, ['prizeSets']),
138138
..._.omit(v5ChallengeObjectFromV4, ommittedFields),
139139
prizeSets,
140+
tags: _.filter(_.uniq(_.concat(_.get(v5ChallengeFromAPI, 'tags'), _.get(v5ChallengeObjectFromV4, 'tags'))), t => _.toLower(t) !== 'other'),
140141
...additionalInformation
141142
}
142143
// logger.debug(`new V5 Object: ${JSON.stringify(updatedV5Object)}`)

0 commit comments

Comments
 (0)