diff --git a/static/js/banditMl.js b/static/js/banditMl.js index f15105a..7baa3a2 100644 --- a/static/js/banditMl.js +++ b/static/js/banditMl.js @@ -671,10 +671,6 @@ banditml.BanditAPI.prototype.logReward = function(reward, experimentId = null, d console.log("Successfully logged reward."); console.log(response); } - if (decisionId === null) { - // TODO: edge case - do we clear session in case of failures too? - this.clearSession(experimentId); - } return response; }).catch(e => { this.logError("Failed to log reward", postBody, e);