rename asJSON to toJSON
This commit is contained in:
parent
d69b1dc3e2
commit
814cee214c
1 changed files with 2 additions and 2 deletions
|
@ -237,13 +237,13 @@ export class IDBLogExport {
|
|||
}
|
||||
|
||||
asBlob(): BlobHandle {
|
||||
const json = this.asJSON();
|
||||
const json = this.toJSON();
|
||||
const buffer: Uint8Array = this._platform.encoding.utf8.encode(json);
|
||||
const blob: BlobHandle = this._platform.createBlob(buffer, "application/json");
|
||||
return blob;
|
||||
}
|
||||
|
||||
asJSON(): string {
|
||||
toJSON(): string {
|
||||
const log = {
|
||||
formatVersion: 1,
|
||||
appVersion: this._platform.updateService?.version,
|
||||
|
|
Reference in a new issue