summaryrefslogtreecommitdiffstats
path: root/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js
diff options
context:
space:
mode:
Diffstat (limited to 'afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js')
-rw-r--r--afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js b/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js
index 834aaff..82e43a5 100644
--- a/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js
+++ b/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js
@@ -73,7 +73,7 @@ angular.module('TokenRefresh', ['ConfigApp', 'ModalNotification'])
// Check Binder status
scope.getping = function() {
- var handler = $http.post(ConfigApp.session.ping+'?token='+ ConfigApp.session.token);
+ var handler = $http.get(ConfigApp.session.ping+'?token='+ ConfigApp.session.token);
// process success and error
handler.success(scope.onsuccess);
@@ -85,7 +85,7 @@ angular.module('TokenRefresh', ['ConfigApp', 'ModalNotification'])
// Check Binder status
scope.refresh = function() {
- var handler = $http.post(ConfigApp.session.refresh+'?token='+ ConfigApp.session.token);
+ var handler = $http.get(ConfigApp.session.refresh+'?token='+ ConfigApp.session.token);
// process success and error
handler.success(scope.onsuccess);
@@ -96,7 +96,7 @@ angular.module('TokenRefresh', ['ConfigApp', 'ModalNotification'])
// Initial connection
scope.tkcreate = function() {
- var handler = $http.post(ConfigApp.session.create+'?token='+ ConfigApp.session.initial);
+ var handler = $http.get(ConfigApp.session.create+'?token='+ ConfigApp.session.initial);
// process success and error
handler.success(scope.onsuccess);