ipfs question, for the self-hosted server, what would be the syntax to upload ipfs, this is the one I had, it didn’t work for me:
> const file: any = await new Moralis.File(
> "avatarCollect.jpg",
> values.theFile
> );
>
> await file.saveIPFS();
> const filePath = await file.ipfs();
> const fileHash = await file.hash();
>
> console.log('filePath', filePath)
> console.log('fileHash', fileHash)