- Add uploadHeader.cfm API for 1200px header images - Add saveBrandColor.cfm API for hex color storage - Add Branding section to menu builder sidebar - Fix header upload path and permissions - Various beacon and service point API improvements Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
544 B
Text
20 lines
544 B
Text
<cfsetting showdebugoutput="false">
|
|
<cfsetting enablecfoutputonly="true">
|
|
<cfcontent type="application/json; charset=utf-8" reset="true">
|
|
|
|
<cfscript>
|
|
response = { "OK": false };
|
|
|
|
try {
|
|
queryExecute("
|
|
UPDATE Businesses SET BusinessHeaderImageExtension = 'jpg' WHERE BusinessID = 37
|
|
", {}, { datasource: "payfrit" });
|
|
|
|
response.OK = true;
|
|
response.message = "Set BusinessHeaderImageExtension to 'jpg' for business 37";
|
|
} catch (any e) {
|
|
response.error = e.message;
|
|
}
|
|
|
|
writeOutput(serializeJSON(response));
|
|
</cfscript>
|