Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📚 Documentation: Check Session #35

Closed
2 tasks done
muratdoglu opened this issue May 29, 2023 · 2 comments
Closed
2 tasks done

📚 Documentation: Check Session #35

muratdoglu opened this issue May 29, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@muratdoglu
Copy link

💭 Description

Hi, I want to check session on reopen app and get account object. How can I do?

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@muratdoglu muratdoglu added the documentation Improvements or additions to documentation label May 29, 2023
@gewenyu99
Copy link

One of
https://appwrite.io/docs/client/account?sdk=web-default#accountGet
https://appwrite.io/docs/client/account?sdk=web-default#accountGetSession

Will give you what you need. I think for your case, and account object, it's just account.get()

@muratdoglu
Copy link
Author

@gewenyu99 hi, I forgot to use 'new Account(client)' thank you. Everything is okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants