add app version to logs

This commit is contained in:
Bruno Windels 2021-02-17 17:14:24 +01:00
parent d201d2c9de
commit cc916b80de

View file

@ -179,7 +179,8 @@ class IDBLogExport {
asBlob() { asBlob() {
const log = { const log = {
version: 1, formatVersion: 1,
appVersion: this._platform.updateService?.version,
items: this._items.map(i => JSON.parse(i.json)) items: this._items.map(i => JSON.parse(i.json))
}; };
const json = JSON.stringify(log); const json = JSON.stringify(log);