🚑️ Remove roles claim
This commit is contained in:
parent
a9b88d87d6
commit
b588ebcf8a
3 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "ohmyapi"
|
name = "ohmyapi"
|
||||||
version = "0.6.0"
|
version = "0.6.1"
|
||||||
description = "Django-flavored scaffolding and management layer around FastAPI, Pydantic, TortoiseORM and Aerich migrations"
|
description = "Django-flavored scaffolding and management layer around FastAPI, Pydantic, TortoiseORM and Aerich migrations"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
keywords = ["fastapi", "tortoise", "orm", "pydantic", "async", "web-framework"]
|
keywords = ["fastapi", "tortoise", "orm", "pydantic", "async", "web-framework"]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
__VERSION__ = "0.6.0"
|
__VERSION__ = "0.6.1"
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,6 @@ class Claims(BaseModel):
|
||||||
type: str
|
type: str
|
||||||
sub: str
|
sub: str
|
||||||
user: ClaimsUser
|
user: ClaimsUser
|
||||||
roles: List[str]
|
|
||||||
exp: str
|
exp: str
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue