From 982f6a40597f28fda9f258cf360658f1d23b6500 Mon Sep 17 00:00:00 2001 From: Tim Wundenberg Date: Thu, 26 Sep 2024 16:23:24 +0200 Subject: [PATCH] fix: update ip address in cache --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index d4e8e0f..373facb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,6 +58,7 @@ fn update_and_get_cache( info!("Not updating IP Address"); } else { update_ip_address(token, zone_id, ¤t_ip_address, domain, &result.id)?; + result.ip_address = current_ip_address; } Ok(result)