Fix case where the user agent was empty (#976)

This commit is contained in:
Wu Clan
2025-12-25 12:03:57 +08:00
committed by GitHub
parent cdabe91092
commit b5e2a9e591
7 changed files with 15 additions and 16 deletions
+1 -1
View File
@@ -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