From 133f57f6893f69e8904fd464a9177f37e92358f9 Mon Sep 17 00:00:00 2001 From: John Pinkyfloyd Date: Mon, 9 Feb 2026 14:28:56 -0800 Subject: [PATCH] Add Johns Beverages debug endpoint --- api/debug/johns.cfm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 api/debug/johns.cfm diff --git a/api/debug/johns.cfm b/api/debug/johns.cfm new file mode 100644 index 0000000..fd5ddea --- /dev/null +++ b/api/debug/johns.cfm @@ -0,0 +1,42 @@ + + + + + + SELECT ID, Name, BeaconShardID, BeaconMajor + FROM Businesses + WHERE Name LIKE '%john%beverages%' OR Name LIKE '%john\'s beverages%' + + + + #serializeJSON({ "OK": false, "ERROR": "No business found" })# + + + + + SELECT ID, Name, BeaconMinor, IsActive + FROM ServicePoints + WHERE BusinessID = + ORDER BY SortOrder, Name + + + + + + + +#serializeJSON({ + "OK": true, + "Business": { + "ID": qBiz.ID, + "Name": qBiz.Name, + "BeaconShardID": val(qBiz.BeaconShardID), + "BeaconMajor": val(qBiz.BeaconMajor) + }, + "ServicePoints": spList +})#