I am getting the following error when trying to post a file or files to Moralis.EvmApi.ipfs.uploadFolder: [C0005] Request contains unknown parameter: 0. This operation supports the following parameters: abi
I am using nextJS and can verify that my API route has a valid base64 image string. However because i have converted from a blob i don’t have an actual filepath, do i actually need to write my base64 to a filepath before i send it off? (i was just spoofing that with a string based on the image_id right now. Didn’t think that would be required since ipfs really only needs the content.
As of right now i’m just passing an array of objects into the await Moralis.EvmApi.ipfs.uploadFolder function that look like
{
content: imageData,
path: `${path}.png`
}
Any help/tips/pointers would be greatly appreciated.
Thanks