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
John Mizerek ced4082993 Fix JSON parsing when Claude returns text preamble before menu JSON
The Claude API sometimes returns explanatory text before the JSON
response even when instructed to return only JSON. Added extraction
logic to find the first { character and strip any leading text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:30:21 -08:00
..
addresses Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
admin Add TaskTypeID to fixOrder task insert 2026-02-15 16:34:55 -08:00
app Update about screen content 2026-02-16 18:36:15 -08:00
assignments Add sharding support to beacon list and assignments APIs 2026-02-08 12:34:49 -08:00
auth Fix cancel task to not cancel order, standardize OTP messages 2026-02-17 11:11:37 -08:00
beacon-sharding Stripe and beacon API updates 2026-02-16 12:53:05 -08:00
beacons Migrate beacon APIs to shard-only system 2026-02-14 19:33:49 -08:00
businesses Add HasChildren flag and filter child businesses from list 2026-02-25 23:10:51 -08:00
chat Add toISO8601() helper for UTC date formatting 2026-02-20 11:56:31 -08:00
config Fix Stripe webhook and add dev webhook secret 2026-02-19 10:08:35 -08:00
debug Add all biz debug 2026-02-09 14:33:25 -08:00
dev Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
grants Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
import Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
menu Add subcategory support (2 levels deep) 2026-02-28 21:29:40 -08:00
orders Fix missing UserID in submit.cfm order query 2026-02-24 22:53:17 -08:00
portal Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant 2026-02-28 11:19:22 -08:00
presence Add Open Tabs feature: tab APIs, presence tracking, shared tabs, cron, portal settings 2026-02-24 20:56:07 -08:00
ratings Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
servicepoints Fix beacon sharding to support Major/Minor starting from 0 2026-02-09 13:43:32 -08:00
setup Fix JSON parsing when Claude returns text preamble before menu JSON 2026-03-01 10:30:21 -08:00
stations Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
stripe Add Open Tabs feature: tab APIs, presence tracking, shared tabs, cron, portal settings 2026-02-24 20:56:07 -08:00
tabs Add per-tab ApprovalMode override for member order approval 2026-02-25 11:44:06 -08:00
tasks Fix cash debit: attribute to business owner for admin/manager roles 2026-02-28 12:10:59 -08:00
users Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
workers Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant 2026-02-28 11:19:22 -08:00
Application.cfm Add Open Tabs feature: tab APIs, presence tracking, shared tabs, cron, portal settings 2026-02-24 20:56:07 -08:00