mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
Fix case where the user agent was empty (#976)
This commit is contained in:
@@ -13,7 +13,7 @@ class TypedContextProtocol(Protocol):
|
||||
region: str | None
|
||||
city: str | None
|
||||
|
||||
user_agent: str
|
||||
user_agent: str | None
|
||||
os: str | None
|
||||
browser: str | None
|
||||
device: str | None
|
||||
|
||||
Reference in New Issue
Block a user