From 1ec45d107cb38b1df49deff755b21f6fc1a9ec44 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Mon, 15 Jun 2015 16:51:13 +0300 Subject: [PATCH] API & AngularJS: Updating API Routes - API_Dev Merge and Service Update --- SE_API/CampusRoutes.py | 2 +- templates/js/services/apiService.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SE_API/CampusRoutes.py b/SE_API/CampusRoutes.py index 93afc55..a93c187 100644 --- a/SE_API/CampusRoutes.py +++ b/SE_API/CampusRoutes.py @@ -188,4 +188,4 @@ def getCampusId(name): @campus_routes.route('/api/campuses/help') def documentation(): - return auto.html() \ No newline at end of file + return auto.html() diff --git a/templates/js/services/apiService.js b/templates/js/services/apiService.js index ea599f4..108b309 100644 --- a/templates/js/services/apiService.js +++ b/templates/js/services/apiService.js @@ -16,7 +16,7 @@ service.factory('apiService', ['$http', function($http) { return $http(req); }, getAllCampuses: function(token){ - var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/campuses/" + token; + var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/campuses/getAll/" + token; req = { method : "GET", url : url