π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix export trash movement
Manav Rathif2a764aac2ff
diff --git a/web/apps/photos/src/services/export/index.ts b/web/apps/photos/src/services/export/index.tsindex b387d4fd3c..c46e1d8fc7 100644--- a/web/apps/photos/src/services/export/index.ts+++ b/web/apps/photos/src/services/export/index.ts@@ -1398,17 +1398,19 @@ const moveToTrash = async (if (await fs.exists(filePath)) {await fs.mkdirIfNeeded(trashDir);- const trashFilePath = await safeFileName(trashDir, fileName, fs.exists);+ const trashFileName = await safeFileName(trashDir, fileName, fs.exists);+ const trashFilePath = `${trashDir}/${trashFileName}`;await fs.rename(filePath, trashFilePath);}if (await fs.exists(metadataFilePath)) {await fs.mkdirIfNeeded(metadataTrashDir);- const metadataTrashFilePath = await safeFileName(+ const metadataTrashFileName = await safeFileName(metadataTrashDir,metadataFileName,fs.exists,);+ const metadataTrashFilePath = `${metadataTrashDir}/${metadataTrashFileName}`;await fs.rename(metadataFilePath, metadataTrashFilePath);}};