Fix typo
This commit is contained in:
@@ -216,7 +216,7 @@ function hasContent({ contents }, id) {
|
||||
async function listByContentForUpdates(id) {
|
||||
assert.strictEqual(typeof id, 'string');
|
||||
|
||||
const results = await database.query(`SELECT ${BACKUP_TARGET_FIELDS} FROM backupSites WHERE enabledByUpdates=?`, [ true ]);
|
||||
const results = await database.query(`SELECT ${BACKUP_TARGET_FIELDS} FROM backupSites WHERE enabledForUpdates=?`, [ true ]);
|
||||
results.forEach(function (result) { postProcess(result); });
|
||||
|
||||
return results.filter(r => hasContent(r, id));
|
||||
|
||||
Reference in New Issue
Block a user