Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Missed a rename when changing names in repo.js (.list to .getAll)

  • Loading branch information...
commit 06d12d4a7d6a797314b25d356687980149c1cc37 1 parent 3e6c296
@ianb ianb authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons/jetpack/lib/sync.js
View
4 addons/jetpack/lib/sync.js
@@ -441,7 +441,7 @@ SyncService.prototype._processUpdates = function (apps, callback) {
for (var i=0; i<deleted.length; i++) {
deletedByOrigin[deleted[i].origin] = deleted[i];
}
- self.repo.list(function (existing) {
+ self.repo.getAll(function (existing) {
// FIXME: this coercion is due to some inconsistencies in list()
// implementations; should be removed once everyone is
// consistent:
@@ -521,7 +521,7 @@ SyncService.prototype._processUpdates = function (apps, callback) {
SyncService.prototype._putUpdates = function (callback) {
var lastUpdate = this._lastSyncPut;
var self = this;
- this.repo.list(function (appList) {
+ this.repo.getAll(function (appList) {
self.repo.listUninstalled(function (uninstalled) {
self._putUpdatesFromApps(appList, uninstalled, callback);
}, function (error) {
Please sign in to comment.
Something went wrong with that request. Please try again.