jonra1993 / fastapi-alembic-sqlmodel-async

This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.
MIT License
964 stars 150 forks source link

TokenType error #16

Closed dongfengweixiao closed 1 year ago

dongfengweixiao commented 1 year ago

https://github.com/jonra1993/fastapi-alembic-sqlmodel-async/blob/0398985731a819e18c49ee9f640f127f805cf531/fastapi-alembic-sqlmodel-async/app/api/v1/endpoints/login.py#L68

jonra1993 commented 1 year ago

Hello @dongfengweixiao thanks for find the error I solve it here https://github.com/jonra1993/fastapi-alembic-sqlmodel-async/commit/f35ca6c09e4854267874e26fe919128b145e35f0