diff --git a/templates/js/services/apiService.js b/templates/js/services/apiService.js index e619186..7948658 100644 --- a/templates/js/services/apiService.js +++ b/templates/js/services/apiService.js @@ -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