From 06220ca921b4d8f0e8b1df484a86ead01cffe887 Mon Sep 17 00:00:00 2001 From: yuyx <237899745@qq.com> Date: Sun, 8 Feb 2026 19:01:17 +0800 Subject: [PATCH] fix(worker): parse anonymous client ip without cidr mask --- src/worker/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/mod.rs b/src/worker/mod.rs index 8ff0602..e83ba06 100644 --- a/src/worker/mod.rs +++ b/src/worker/mod.rs @@ -180,7 +180,7 @@ async fn process_task(state: &AppState, task_id: Uuid) -> Result<(), AppError> { session_id, api_key_id, source::text AS source, - client_ip::text AS client_ip + host(client_ip) AS client_ip FROM tasks WHERE id = $1 "#,