diff --git a/src/models/response/attachmentResponse.ts b/src/models/response/attachmentResponse.ts index 8fef2aba44..a296cf6fa0 100644 --- a/src/models/response/attachmentResponse.ts +++ b/src/models/response/attachmentResponse.ts @@ -3,7 +3,7 @@ import { AttachmentView } from 'jslib/models/view/attachmentView'; export class AttachmentResponse { id: string; fileName: string; - size: number; + size: string; sizeName: string; url: string; diff --git a/src/program.ts b/src/program.ts index 1cb093b042..c440b1ed66 100644 --- a/src/program.ts +++ b/src/program.ts @@ -178,7 +178,7 @@ export class Program extends BaseProgram { writeLn(' bw unlock myPassword321 --raw'); writeLn('', true); }) - .option('--check', 'Check vault status.', async () => { + .option('--check', 'Check lock status.', async () => { const locked = await this.main.lockService.isLocked(); if (!locked) { const res = new MessageResponse('Vault is unlocked!', null);