mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
use blob instead of stream to get file list. fixes #1084
This commit is contained in:
@@ -131,7 +131,7 @@ export default class User {
|
||||
try {
|
||||
const encrypted = await getFileList(this.bearerToken);
|
||||
const decrypted = await streamToArrayBuffer(
|
||||
decryptStream(encrypted, b64ToArray(this.info.fileListKey))
|
||||
decryptStream(blobStream(encrypted), b64ToArray(this.info.fileListKey))
|
||||
);
|
||||
list = JSON.parse(textDecoder.decode(decrypted));
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user