From 4b9712d03484f0f8be5b6b797133c85222cf9a38 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 16 Jun 2017 12:35:46 -0400 Subject: [PATCH] remove deprecated "sites" api endpoint --- src/services/apiService.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/apiService.js b/src/services/apiService.js index ae8080962a1..a3f7ceb528c 100644 --- a/src/services/apiService.js +++ b/src/services/apiService.js @@ -171,7 +171,7 @@ function initApiService() { handleTokenState(self).then(function (token) { $.ajax({ type: 'GET', - url: self.baseUrl + '/sites/' + id + '?' + token, + url: self.baseUrl + '/logins/' + id + '?' + token, dataType: 'json', success: function (response) { success(new LoginResponse(response)); @@ -190,7 +190,7 @@ function initApiService() { handleTokenState(self).then(function (token) { $.ajax({ type: 'POST', - url: self.baseUrl + '/sites?' + token, + url: self.baseUrl + '/logins?' + token, data: JSON.stringify(loginRequest), contentType: 'application/json; charset=utf-8', dataType: 'json', @@ -211,7 +211,7 @@ function initApiService() { handleTokenState(self).then(function (token) { $.ajax({ type: 'POST', - url: self.baseUrl + '/sites/' + id + '?' + token, + url: self.baseUrl + '/logins/' + id + '?' + token, data: JSON.stringify(loginRequest), contentType: 'application/json; charset=utf-8', dataType: 'json',