What is alternative for FS in RC 1.10.0?


#1

Hi
I know that in RC 1.10.0, meteor-collection-hooks has been removed. One of my plugin has this code
return FS.Utility.eachFile(event, (file) => {
const fileObj = new FS.File(file);
fileObj.metadata = {
type: “banners”,
ownerId: userId,
shopId
};
which was working in previous versions. How can i replace this code to work same feature in RC 1.10.0.