Skip to content

Commit

Permalink
small promise fix, was not marked as resolved correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lougarou committed Jan 31, 2024
1 parent cf81618 commit 375d136
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/services/Poller.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ define(['./_module'], function (app) {
.then(function (data) {
self.intervalId = $timeout(tick, self.opts.interval);
self.deferred.notify(data.data);
self.deferred.resolve();
}, function (error) {
self.deferred.reject(error);
});
Expand Down

0 comments on commit 375d136

Please sign in to comment.