1
0
Эх сурвалжийг харах

fix: app data check error in write

KernelDeimos 4 сар өмнө
parent
commit
5ef75e5df3

+ 1 - 1
src/backend/src/filesystem/hl_operations/hl_write.js

@@ -302,7 +302,7 @@ class HLWrite extends HLFilesystemOperation {
         this.checkpoint('before thumbnail');
         this.checkpoint('before thumbnail');
 
 
         let thumbnail_promise = new TeePromise();
         let thumbnail_promise = new TeePromise();
-        if ( await destination.isAppDataDirectory() || values.no_thumbnail ) {
+        if ( await parent.isAppDataDirectory() || values.no_thumbnail ) {
             thumbnail_promise.resolve(undefined);
             thumbnail_promise.resolve(undefined);
         } else (async () => {
         } else (async () => {
             const reason = await (async () => {
             const reason = await (async () => {