Skip to content

Commit 595848f

Browse files
Add logging to debug updating challenge
1 parent c55ca76 commit 595848f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/services/ChallengeService.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,10 @@ async function update (currentUser, challengeId, data, userToken, isFull) {
885885
data.winners = null
886886
}
887887

888+
console.log('------------------')
889+
console.log(updateDetails)
890+
console.log('------------------')
891+
888892
await models.Challenge.update({ id: challengeId }, updateDetails)
889893
if (auditLogs.length > 0) {
890894
await models.AuditLog.batchPut(auditLogs)

0 commit comments

Comments
 (0)