POST -> PUT in update user
This commit is contained in:
parent
d32b09b712
commit
23d287e59a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/users/updateUser/" + token;
|
||||||
|
|
||||||
req = {
|
req = {
|
||||||
method: "POST",
|
method: "PUT",
|
||||||
url: url,
|
url: url,
|
||||||
data: payLoad
|
data: payLoad
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue