sync with electron net API (for system proxy support) - working, but WIP

This commit is contained in:
azivner
2018-12-16 21:19:12 +01:00
parent 5b6d15acb3
commit b942163748
2 changed files with 58 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ async function loginSync(req) {
const syncVersion = req.body.syncVersion;
if (syncVersion !== appInfo.syncVersion) {
return [400, { message: 'Non-matching sync versions, local is version ' + appInfo.syncVersion }];
return [400, { message: `Non-matching sync versions, local is version ${appInfo.syncVersion}, remote is ${syncVersion}` }];
}
const documentSecret = await options.getOption('documentSecret');