here is my code
async function linkwallet(){
init();
const out = await Moralis.link(web3.eth.getAccounts().then(e => {
return e[0];
}) , { signingMessage: "Custom Linking Message"})
};
and the error shows that
Uncaught (in promise) TypeError: account.toLowerCase is not a function
and it does not update the table in the server
the step will be 1) signup to Moralis with email and password
2) login
3) link to wallet