const login = async(email,password)=>{
try{
let response = await account.createEmailSession(email,password);
alert("Logged in")
}catch(err){
alert(err)
}
}
im getting error on createEmailSession is not a function any help?
TL;DR
Developers are encountering an error stating that createEmailSession is not a function when trying to utilize it in their code. To resolve this issue, developers must ensure that the createEmailSession function is properly defined and exported in the respective module.