small sync refactorings

This commit is contained in:
azivner
2018-04-08 10:09:33 -04:00
parent 542e82ee5d
commit 8d8ee2a87a
2 changed files with 23 additions and 34 deletions

View File

@@ -10,8 +10,8 @@ const log = require('../../services/log');
async function checkSync() {
return {
'hashes': await contentHashService.getHashes(),
'maxSyncId': await sql.getValue('SELECT MAX(id) FROM sync')
hashes: await contentHashService.getHashes(),
maxSyncId: await sql.getValue('SELECT MAX(id) FROM sync')
};
}