Fix createChat.cfm column name: TaskID → ID
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
fc310c35cf
commit
695df9fc8e
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ try {
|
||||||
// Auto-close stale chat
|
// Auto-close stale chat
|
||||||
queryTimed("
|
queryTimed("
|
||||||
UPDATE Tasks SET CompletedOn = NOW()
|
UPDATE Tasks SET CompletedOn = NOW()
|
||||||
WHERE TaskID = :taskID
|
WHERE ID = :taskID
|
||||||
", { taskID: { value: existingChat.ID, cfsqltype: "cf_sql_integer" } }, { datasource: "payfrit" });
|
", { taskID: { value: existingChat.ID, cfsqltype: "cf_sql_integer" } }, { datasource: "payfrit" });
|
||||||
} else {
|
} else {
|
||||||
// Return existing chat
|
// Return existing chat
|
||||||
|
|
|
||||||
Reference in a new issue