remove dead code

This commit is contained in:
Neeraj Gupta 2023-08-25 10:59:44 +05:30
parent 6ad4a71f23
commit 4dfa16886f

View file

@ -155,13 +155,7 @@ class FileUploader {
"original upload completer resolved, try adding the file to another "
"collection",
);
// if (uploadedFile == null) {
// /* todo: handle this case, ideally during next sync the localId
// should be uploaded to this collection ID
// */
// _logger.severe('unexpected upload state');
// return null;
// }
return CollectionsService.instance
.addToCollection(collectionID, [uploadedFile]).then((aVoid) {
return uploadedFile;