POST -> PUT in update user

This commit is contained in:
Sagi Dayan 2015-06-24 13:16:19 +03:00
parent d32b09b712
commit 23d287e59a

View file

@ -37,7 +37,7 @@ service.factory('apiService', ['$http', function($http) {
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/users/updateUser/" + token;
req = {
method: "POST",
method: "PUT",
url: url,
data: payLoad
};