Open viditpagi123 opened 3 months ago
well a solution that works is you have to downgrade your appwrite, just go to terminal and run the following command - npm install appwrite@13.0.2 It'll work, had the same issue as you
Yup did the same and it's working fine now
On Thu, Mar 21, 2024, 11:11 PM Chirag-2003 @.***> wrote:
well a solution that works is you have to downgrade your appwrite, just go to terminal and run the following command - npm install @.*** It'll work, had the same issue as you
— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/social_media_app/issues/48#issuecomment-2013153147, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATTZBZRFRFP5Q7YPIO3ZXCLYZMLUFAVCNFSM6AAAAABE7NCNJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJTGE2TGMJUG4 . You are receiving this because you authored the thread.Message ID: @.***>
well a solution that works is you have to downgrade your appwrite, just go to terminal and run the following command - npm install appwrite@13.0.2 It'll work, had the same issue as you
Bro Posts are not getting saved in appwrite
In AuthLayout.tsx page side-img.svg is not working. Can you please help me to solve this issue?
Appwrite has been updated so the former
account.createEmailSession(user.email, user.password)
has change to
account.createEmailPasswordSession(user.email, user.password)
.
so the updated code for signInAccount in the api.ts file will be
export async function signInAccount(user: {email: string; password: string;}) {
try {
const session = await account.createEmailPasswordSession(user.email, user.password);
return session;
} catch (error) {
console.log(error);
return error;
}
}
While Done with the signin and signup part after doing both activities its giving failed to sign in and Signup