fix(worker): parse anonymous client ip without cidr mask
This commit is contained in:
@@ -180,7 +180,7 @@ async fn process_task(state: &AppState, task_id: Uuid) -> Result<(), AppError> {
|
|||||||
session_id,
|
session_id,
|
||||||
api_key_id,
|
api_key_id,
|
||||||
source::text AS source,
|
source::text AS source,
|
||||||
client_ip::text AS client_ip
|
host(client_ip) AS client_ip
|
||||||
FROM tasks
|
FROM tasks
|
||||||
WHERE id = $1
|
WHERE id = $1
|
||||||
"#,
|
"#,
|
||||||
|
|||||||
Reference in New Issue
Block a user