From 5ef75e5df35ae95242da97235512495b7585bd0d Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Mon, 13 Jan 2025 14:11:26 -0500 Subject: [PATCH] fix: app data check error in write --- src/backend/src/filesystem/hl_operations/hl_write.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/src/filesystem/hl_operations/hl_write.js b/src/backend/src/filesystem/hl_operations/hl_write.js index 7a866eb25..09c8336cb 100644 --- a/src/backend/src/filesystem/hl_operations/hl_write.js +++ b/src/backend/src/filesystem/hl_operations/hl_write.js @@ -302,7 +302,7 @@ class HLWrite extends HLFilesystemOperation { this.checkpoint('before thumbnail'); let thumbnail_promise = new TeePromise(); - if ( await destination.isAppDataDirectory() || values.no_thumbnail ) { + if ( await parent.isAppDataDirectory() || values.no_thumbnail ) { thumbnail_promise.resolve(undefined); } else (async () => { const reason = await (async () => {