Skip to content

Commit 5cfde35

Browse files
Merge branch 'develop' of https://github.com/topcoder-platform/challenge-api into develop
2 parents 09ca59c + 4d674c5 commit 5cfde35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/services/ChallengeService.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,7 @@ async function update (currentUser, challengeId, data, userToken, isFull) {
976976
data.winners = null
977977
}
978978

979+
logger.debug('Challenge.update', { id: challengeId }, updateDetails)
979980
await models.Challenge.update({ id: challengeId }, updateDetails)
980981

981982
if (auditLogs.length > 0) {
@@ -1015,6 +1016,7 @@ async function update (currentUser, challengeId, data, userToken, isFull) {
10151016
}
10161017

10171018
// post bus event
1019+
logger.debug('Post Bus Event', constants.Topics.ChallengeUpdated, challenge)
10181020
await helper.postBusEvent(constants.Topics.ChallengeUpdated, challenge)
10191021
return challenge
10201022
}

0 commit comments

Comments
 (0)