Use device family for device logging
This commit is contained in:
parent
ac0f4cee73
commit
1c5151ba18
@ -87,7 +87,7 @@ def ingress_request(
|
|||||||
user_agent=user_agent,
|
user_agent=user_agent,
|
||||||
identifier=identifier.strip(),
|
identifier=identifier.strip(),
|
||||||
browser=ua.browser.family or "",
|
browser=ua.browser.family or "",
|
||||||
device=ua.device.model or "",
|
device=ua.device.family or ua.device.model or "",
|
||||||
device_type=device_type,
|
device_type=device_type,
|
||||||
os=ua.os.family or "",
|
os=ua.os.family or "",
|
||||||
asn=ip_data.get("asn", ""),
|
asn=ip_data.get("asn", ""),
|
||||||
|
Loading…
Reference in New Issue
Block a user