mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Fix #431: make OAuth expires_at optional in model and DB schemas
This commit is contained in:
@@ -56,7 +56,7 @@ class BaseOAuthAccount(BaseModel):
|
||||
id: Optional[UUID4] = None
|
||||
oauth_name: str
|
||||
access_token: str
|
||||
expires_at: int
|
||||
expires_at: Optional[int] = None
|
||||
refresh_token: Optional[str] = None
|
||||
account_id: str
|
||||
account_email: str
|
||||
|
||||
Reference in New Issue
Block a user