getAllPaged -> getPaged

This commit is contained in:
Girish Ramakrishnan
2016-03-08 18:10:39 -08:00
parent e2b7ec3ffd
commit 21d4cc9cb2

View File

@@ -626,7 +626,7 @@ function backup(callback) {
function ensureBackup(callback) {
callback = callback || NOOP_CALLBACK;
backups.getAllPaged(1, 1, function (error, backups) {
backups.getPaged(1, 1, function (error, backups) {
if (error) {
debug('Unable to list backups', error);
return callback(error); // no point trying to backup if appstore is down