hi folks, feel free to delete my post after addressing it.
i was using this guide:
but the copy/paste let options =
code block is wrong, and does not match your video embedded below it.
changes to make:
- make
Params
andNote
lowercase, otherwise moralis throws āmissing noteā (because it canāt parse the ABIās note parameter) - remove the
await Moralis.User.logOut();
callback - replace
logOut()
withMoralis.executeFunction(options)
and (optionally) make logout a callback of that*
basically i had to watch the video to figure out how to invoke my options object. i also couldnāt find this executeFunction()
feature in the general API docs, only Moralis.Cloud.execute()
which is not relevant to this SDK.
cheers!
Ryan