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

Error when using the login() method in async function #34

Closed
Daxexs opened this issue Dec 30, 2024 · 0 comments · Fixed by #36
Closed

Error when using the login() method in async function #34

Daxexs opened this issue Dec 30, 2024 · 0 comments · Fixed by #36
Assignees
Labels
bug Something isn't working

Comments

@Daxexs
Copy link
Owner

Daxexs commented Dec 30, 2024

Example

async def store_login(e):
      data.login(key="login", value=username.value, next_route="/dashboard")

Solution

async def store_login(e):
       await data.login_async(key="login", value=username.value, next_route="/dashboard")
@Daxexs Daxexs added the bug Something isn't working label Dec 30, 2024
@Daxexs Daxexs self-assigned this Dec 30, 2024
@Daxexs Daxexs moved this to In review in Flet-Easy Development Jan 19, 2025
@Daxexs Daxexs mentioned this issue Jan 26, 2025
Daxexs added a commit that referenced this issue Jan 26, 2025
## Bug fixes

* Fix error when using login() method in async function [#34]
* Fix and improve error message in fs.decode (async) [#35]
@github-project-automation github-project-automation bot moved this from In review to Done in Flet-Easy Development Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant