Code Review
/
src
/
app-framework-demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Switch TokenRefresh to HTTP GET
[src/app-framework-demo.git]
/
afb-client
/
app
/
Frontend
/
widgets
/
Notifications
/
TokenRefreshSvc.js
diff --git
a/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js
b/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js
index
834aaff
..
82e43a5
100644
(file)
--- 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() {
// Check Binder status
scope.getping = function() {
- var handler = $http.
pos
t(ConfigApp.session.ping+'?token='+ ConfigApp.session.token);
+ var handler = $http.
ge
t(ConfigApp.session.ping+'?token='+ ConfigApp.session.token);
// process success and error
handler.success(scope.onsuccess);
// process success and error
handler.success(scope.onsuccess);
@@
-85,7
+85,7
@@
angular.module('TokenRefresh', ['ConfigApp', 'ModalNotification'])
// Check Binder status
scope.refresh = function() {
// Check Binder status
scope.refresh = function() {
- var handler = $http.
pos
t(ConfigApp.session.refresh+'?token='+ ConfigApp.session.token);
+ var handler = $http.
ge
t(ConfigApp.session.refresh+'?token='+ ConfigApp.session.token);
// process success and error
handler.success(scope.onsuccess);
// process success and error
handler.success(scope.onsuccess);
@@
-96,7
+96,7
@@
angular.module('TokenRefresh', ['ConfigApp', 'ModalNotification'])
// Initial connection
scope.tkcreate = function() {
// Initial connection
scope.tkcreate = function() {
- var handler = $http.
pos
t(ConfigApp.session.create+'?token='+ ConfigApp.session.initial);
+ var handler = $http.
ge
t(ConfigApp.session.create+'?token='+ ConfigApp.session.initial);
// process success and error
handler.success(scope.onsuccess);
// process success and error
handler.success(scope.onsuccess);