diff --git a/static/js/main.js b/static/js/main.js index 9820d78..5999c22 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -396,7 +396,7 @@ function refreshListener() { let children = e.target.parentNode.parentNode.children; $.ajax({ type: "POST", - url: base_url + "refuseTreasure", + url: base_url + "addActivity", data: JSON.stringify({ uid: localStorage.getItem('user'), token: localStorage.getItem('token'), @@ -461,7 +461,7 @@ function refreshListener() { let children = e.target.parentNode.parentNode.children; $.ajax({ type: "POST", - url: base_url + "refuseTreasure", + url: base_url + "addActivity", data: JSON.stringify({ uid: localStorage.getItem('user'), token: localStorage.getItem('token'),