Open Vikas-Kumar-Sahu opened 5 months ago
Go to store.js where the redux store is configured. There you must define the reducers to the store. So specify the reducer and name of that reducer in an object to the reducer key. For Eg: If the name of the reducer is auth and the slice is authSlice, then provide them as key-value pairs to the reducer
const store = configureStore({ reducer: { auth: authSlice }, });
I already given that, the problem is createEmailSession does't work if you have any solution regardin this, how to solve this then please inform me ....
same problem 🙃, did you fix it brother??
you can use (createEmailPasswordSession)
same problem 🙃, did you fix it brother??
this error is showing because the function will change to "account.createEmailPasswordSession" in the latest version of appwrite so you can use "createEmailPasswordSession" instead e.g. :
return await this.account.createEmailPasswordSession(email, password);
Hope this helps 👍🏻
thanks
i am facing the same error
you can use (account.createEmailPasswordSession)
finally fix the bug