apiServices - Added token Param in to getCamusesByUser

This commit is contained in:
Sagi Dayan 2015-06-26 14:53:40 +03:00
parent 42210f73d5
commit 9ddc035443

View file

@ -99,8 +99,8 @@ service.factory('apiService', ['$http', function($http) {
};
return $http(req);
},
getCampusesByUser: function(){
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/courses/getCampusesByUser/" + token;
getCampusesByUser: function(token){
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/campuses/getCampusesByUser/" + token;
req = {
method : "GET",
url : url