1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-23 07:26:40 +02:00

returning the list of hashes

This commit is contained in:
antelle 2021-04-07 22:04:21 +02:00
parent 26d226bb17
commit 7086ddcf58
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C

View File

@ -104,7 +104,8 @@ const ProtocolHandlers = {
return encryptResponse(request, {
action: 'hash',
version: RuntimeInfo.version,
hash: firstFile.defaultGroupHash
hash: firstFile.defaultGroupHash,
hashes: AppModel.instance.files.map((file) => file.defaultGroupHash)
});
} else {
return { action: 'get-databasehash', error: 'No open files', errorCode: '1' };