ipAddress to IpAddress
This commit is contained in:
@@ -135,10 +135,10 @@ public class MonitoringController : Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("server-id-by-ip")]
|
[HttpGet("server-id-by-ip")]
|
||||||
public async Task<IActionResult> GetServerIdByIp([FromQuery] string ipAddress)
|
public async Task<IActionResult> GetServerIdByIp([FromQuery] string IpAddress)
|
||||||
{
|
{
|
||||||
var server = await _context.Servers
|
var server = await _context.Servers
|
||||||
.FirstOrDefaultAsync(s => s.IPAddress == ipAddress);
|
.FirstOrDefaultAsync(s => s.IPAddress == IpAddress);
|
||||||
|
|
||||||
if (server == null)
|
if (server == null)
|
||||||
return NotFound();
|
return NotFound();
|
||||||
|
Reference in New Issue
Block a user