Fix remove bonfire save endpoint

fix completedChallenge saving solution
remove unnecessary code.
This commit is contained in:
Berkeley Martinez
2015-12-08 13:52:03 -08:00
parent 9774638d43
commit 579c569d15
4 changed files with 32 additions and 132 deletions

View File

@@ -169,12 +169,10 @@ window.common = (function({ $, common = { init: [] }}) {
});
$.post(
'/completed-bonfire/', {
challengeInfo: {
challengeId: common.challengeId,
challengeName: common.challengeName,
challengeType: common.challengeType
}
'/completed-challenge/', {
id: common.challengeId,
name: common.challengeName,
challengeType: common.challengeType
},
function(res) {
if (res) {