Use userdb.getByUsername() instead of get()

This commit is contained in:
Johannes Zellner
2016-04-01 21:43:15 +02:00
parent 951934f275
commit 0b1dcd2940
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ function getAppBackupUrl(app, callback) {
var now = new Date();
var filebase = util.format('appbackup_%s_%s-v%s', app.id, now.toISOString(), app.manifest.version);
var configFilename = filebase + '.json', dataFilename = filebase + '.tar.gz';
settings.getBackupConfig(function (error, backupConfig) {
if (error) return callback(new BackupsError(BackupsError.INTERNAL_ERROR, error));