From bd07e6e7afc1223be80ede5cfde35529a89d2da6 Mon Sep 17 00:00:00 2001 From: donpat1to Date: Wed, 30 Jul 2025 00:46:08 +0200 Subject: [PATCH] ipAddress to IpAddress --- Watcher/Controllers/MonitoringController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Watcher/Controllers/MonitoringController.cs b/Watcher/Controllers/MonitoringController.cs index cce1726..9499a72 100644 --- a/Watcher/Controllers/MonitoringController.cs +++ b/Watcher/Controllers/MonitoringController.cs @@ -135,10 +135,10 @@ public class MonitoringController : Controller } [HttpGet("server-id-by-ip")] - public async Task GetServerIdByIp([FromQuery] string ipAddress) + public async Task GetServerIdByIp([FromQuery] string IpAddress) { var server = await _context.Servers - .FirstOrDefaultAsync(s => s.IPAddress == ipAddress); + .FirstOrDefaultAsync(s => s.IPAddress == IpAddress); if (server == null) return NotFound();