π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unused return
Manav Rathid0341ba50c28
diff --git a/web/apps/photos/src/services/fileService.ts b/web/apps/photos/src/services/fileService.tsindex 354bc04da7..e26b24a466 100644--- a/web/apps/photos/src/services/fileService.ts+++ b/web/apps/photos/src/services/fileService.ts@@ -28,6 +28,14 @@ import {setCollectionLastSyncTime,} from "./collectionService";+/**+ * Fetch all files of the given {@link type}, belonging to the given+ * {@link collections}, from remote and update our local database.+ *+ * In addition to updating the local database, it also calls the provided+ * {@link setFiles} callback with the latest decrypted files after each batch+ * the new and/or updated files are received from remote.+ */export const syncFiles = async (type: "normal" | "hidden",collections: Collection[],@@ -58,7 +66,6 @@ export const syncFiles = async (setCollectionLastSyncTime(collection, collection.updationTime);}if (didUpdateFiles) exportService.onLocalFilesUpdated();- return files;};export const getFiles = async (