Only quickTasks/ and scheduledTasks/ subdirectories remain tracked since those are actively used by the portal. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
665 B
Text
33 lines
665 B
Text
<cfsetting showdebugoutput="false">
|
|
<cfsetting enablecfoutputonly="true">
|
|
<cfcontent type="application/json; charset=utf-8" reset="true">
|
|
|
|
<cfscript>
|
|
// Check Big Dean's owner
|
|
q = queryExecute("
|
|
SELECT b.ID, b.Name, b.UserID
|
|
FROM Businesses b
|
|
WHERE b.ID = 27
|
|
", {}, { datasource: "payfrit" });
|
|
|
|
// Get users
|
|
users = queryExecute("
|
|
SELECT *
|
|
FROM Users
|
|
ORDER BY ID
|
|
LIMIT 20
|
|
", {}, { datasource: "payfrit" });
|
|
|
|
colNames = users.getColumnNames();
|
|
|
|
writeOutput(serializeJSON({
|
|
"OK": true,
|
|
"BigDeans": {
|
|
"BusinessID": q.ID,
|
|
"Name": q.Name,
|
|
"UserID": q.UserID
|
|
},
|
|
"UserColumns": colNames,
|
|
"UserCount": users.recordCount
|
|
}));
|
|
</cfscript>
|