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

Commit e64e623

Browse files
comment out PUT
1 parent a249ef3 commit e64e623

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/services/ProcessorService.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -689,14 +689,14 @@ async function processUpdate (message) {
689689
// logger.debug('Parsed Payload', saveDraftContestDTO)
690690
try {
691691
// Thomas - get rid of this and add required info directly via IFX
692-
try {
693-
if (challenge) {
694-
await helper.putRequest(`${config.V4_CHALLENGE_API_URL}/${legacyId}`, { param: _.omit(saveDraftContestDTO, ['groupsToBeAdded', 'groupsToBeDeleted']) }, m2mToken)
695-
}
696-
} catch (e) {
697-
logger.warn('Failed to update the challenge via the V4 API')
698-
logger.error(e)
699-
}
692+
// try {
693+
// if (challenge) {
694+
// await helper.putRequest(`${config.V4_CHALLENGE_API_URL}/${legacyId}`, { param: _.omit(saveDraftContestDTO, ['groupsToBeAdded', 'groupsToBeDeleted']) }, m2mToken)
695+
// }
696+
// } catch (e) {
697+
// logger.warn('Failed to update the challenge via the V4 API')
698+
// logger.error(e)
699+
// }
700700

701701
// Update metadata in IFX
702702
if (message.payload.metadata && message.payload.metadata.length > 0) {

0 commit comments

Comments
 (0)