Remove unused return
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user