challenge-api
challenge-api copied to clipboard
Support changing legacy.track or typeId
The v5 used to allow changing the legacy.track
or the typeId
of a Challenge
but V4 doesn't allow that.
Thought, the V4 API does not return the challenge track in the response of the /challenges/:id
endpoint thus we moved that check to the V5 API
https://github.com/topcoder-platform/legacy-challenge-processor/blob/7d94bea995c2d248b897d187064664f76c6abd2b/src/services/ProcessorService.js#L272-L281
https://github.com/topcoder-platform/challenge-api/blob/5cfde359a68082fd4a8a441b3071cc8440f13338/src/services/ChallengeService.js#L701-L707