Merge pull request #677 from ente-io/runtime-error-fix

This commit is contained in:
Vishnu Mohandas 2022-12-01 20:26:30 +05:30 committed by GitHub
commit 9fdebfc3bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@ class FileUploader {
}
return CollectionsService.instance
.addToCollection(collectionID, [uploadedFile]).then((aVoid) {
return uploadedFile;
return uploadedFile as File;
});
});
}