Skip to content

Commit d155f31

Browse files
authored
Fix
1 parent 508b4ba commit d155f31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mega.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class MegaClient {
180180

181181
for (const account of this.accounts) {
182182
try {
183-
const files = await account.storage.getChildren();
183+
const files = account.storage.root.children;
184184
const file = files.find((x: any) => x.name === record.fileName);
185185

186186
if (file) {
@@ -247,4 +247,4 @@ class MegaClient {
247247
}
248248
}
249249

250-
export default MegaClient;
250+
export default MegaClient;

0 commit comments

Comments
 (0)