Hello. I want to use saveIPFS() function on an already saved Moralis.File object on the database but it is giving me error.
This is the error:
client.js?06a0:103 TypeError: Cannot read properties of undefined (reading 'format') at ParseFile.value (ParseFile.js?08ff:402:1) at ParseFile.value (ParseFile.js?08ff:455:1) at _callee7$ (index.vue?6ced:855:1) at tryCatch (runtime.js?96cf:63:1) at Generator.invoke [as _invoke] (runtime.js?96cf:294:1) at Generator.eval [as next] (runtime.js?96cf:119:1) at asyncGeneratorStep (asyncToGenerator.js?1da1:3:1) at _next (asyncToGenerator.js?1da1:25:1) at eval (asyncToGenerator.js?1da1:32:1) at new Promise (<anonymous>)
All I am doing is create a Moralis.File, upload it to the database, get it on another page and call saveIPFS() on it. Any solutions?