Skip to content

Commit 49d5ee6

Browse files
add logging
1 parent 479a799 commit 49d5ee6

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
@@ -1337,6 +1337,8 @@ async function update (currentUser, challengeId, data, userToken, isFull) {
13371337
data.updatedBy = currentUser.handle || currentUser.sub
13381338
const updateDetails = {}
13391339
const auditLogs = []
1340+
logger.debug(`Challenge phases, ${JSON.stringify(challenge.phases, null, 2)}`)
1341+
logger.debug(`data phases, ${JSON.stringify(data.phases, null, 2)}`)
13401342
_.each(data, (value, key) => {
13411343
let op
13421344
if (key === 'metadata') {

0 commit comments

Comments
 (0)