Fixed: [budget] remove deprecated config repository and fix summary budget when generating document

This commit is contained in:
2023-01-31 19:41:43 +01:00
parent 885256ac0d
commit de55ff920f
8 changed files with 61 additions and 253 deletions

View File

@@ -137,6 +137,10 @@ async function download_and_decrypt_doc(urlGenerator: string, keyData: JsonWebKe
throw new Error("error while downloading raw file " + rawResponse.status + " " + rawResponse.statusText);
}
if (iv.length === 0) {
return rawResponse.blob();
}
const rawBuffer = await rawResponse.arrayBuffer();
try {