Merge pull request #677 from ente-io/runtime-error-fix
This commit is contained in:
commit
9fdebfc3bc
|
@ -153,7 +153,7 @@ class FileUploader {
|
|||
}
|
||||
return CollectionsService.instance
|
||||
.addToCollection(collectionID, [uploadedFile]).then((aVoid) {
|
||||
return uploadedFile;
|
||||
return uploadedFile as File;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue