Howdy folks. Iām doing the following:
const file = new Moralis.File(thumbnail.name, thumbnail)
file.save().then(() => {console.log("file saved correctly")},(error)=> {console.log(error)});
If I do console.log(file), I can see the variable _url has the correct image url, but when I try to save it in a variable, doing const var = file.url(), I get undefined.
What could be the problem here?