This repository has been archived on 2026-03-21. You can view files and clone it, but cannot push or open issues or pull requests.
payfrit-biz/api/tasks
John Mizerek 624264ad2e Fix customer lookup: treat Order.UserID=0 as NULL
COALESCE treats 0 as valid, so Order.UserID=0 was matching User 0
(Payfrit Network) instead of falling back to Task.UserID.
Use NULLIF to convert 0 to NULL before the fallback.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 18:36:13 -08:00
..
accept.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
callServer.cfm Fix tt_TaskTypes column name in callServer.cfm 2026-02-06 17:27:24 -08:00
complete.cfm Fix min() function call in complete.cfm 2026-02-06 17:30:12 -08:00
completeChat.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
create.cfm Add UserID and customer info to service bell tasks 2026-02-06 17:57:22 -08:00
createChat.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
deleteCategory.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
deleteType.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
expireStaleChats.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
getDetails.cfm Fix customer lookup: treat Order.UserID=0 as NULL 2026-02-06 18:36:13 -08:00
listAllTypes.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
listCategories.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
listMine.cfm Add UserID and customer info to service bell tasks 2026-02-06 17:57:22 -08:00
listPending.cfm Add UserID and customer info to service bell tasks 2026-02-06 17:57:22 -08:00
listTypes.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
reorderTypes.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
saveCategory.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
saveType.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
seedCategories.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
setup.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00