(js) Remove calls to deprecated methods
This commit is contained in:
parent
558795327e
commit
bb102e07e1
|
@ -22,7 +22,7 @@
|
|||
$timeout(function() {
|
||||
// Update date when day ends
|
||||
$interval(function() {
|
||||
$http.get('../date').success(function(data) {
|
||||
$http.get('../date').then(function(data) {
|
||||
$scope.currentDay = data;
|
||||
});
|
||||
}, 24 * 3600 * 1000);
|
||||
|
|
Loading…
Reference in a new issue