From c96f1c4c0aa049b48ba1200b19f87d43ffd3132a Mon Sep 17 00:00:00 2001 From: cproudlock Date: Fri, 12 Dec 2025 08:21:29 -0500 Subject: [PATCH] Fix column name in getRecordedIP API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change communicationid to comid (correct column name) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- api.asp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.asp b/api.asp index 018bfba..30cf0da 100644 --- a/api.asp +++ b/api.asp @@ -902,7 +902,7 @@ Sub GetRecordedIP() cmd.CommandText = "SELECT c.address FROM communications c " & _ "INNER JOIN machines m ON c.machineid = m.machineid " & _ "WHERE m.hostname = ? AND c.address LIKE '10.134.%' " & _ - "ORDER BY c.isprimary DESC, c.communicationid ASC LIMIT 1" + "ORDER BY c.isprimary DESC, c.comid ASC LIMIT 1" cmd.Parameters.Append cmd.CreateParameter("@hostname", 200, 1, 50, hostname) Set rs = cmd.Execute()