diff --git a/app.js b/app.js index 5de24f6..364b152 100644 --- a/app.js +++ b/app.js @@ -91,6 +91,7 @@ App({ that.globalData.token = token that.request({ url: `${that.globalData.API_URL}/sessions/login`, + method: 'POST', data: {code: that.globalData.code}, success: function(res) { if (!res.data.token) {