feat: add menu items endpoint to public API allowlist
- Add /api/menu/items.cfm to public endpoint allowlist - Allows unauthenticated users to browse menu before ordering
This commit is contained in:
parent
41122fc0fb
commit
d3eef67e2e
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ if (len(request._api_path)) {
|
|||
|
||||
if (findNoCase("/api/businesses/list.cfm", request._api_path)) request._api_isPublic = true;
|
||||
if (findNoCase("/api/servicepoints/list.cfm", request._api_path)) request._api_isPublic = true;
|
||||
if (findNoCase("/api/menu/items.cfm", request._api_path)) request._api_isPublic = true;
|
||||
}
|
||||
|
||||
// Carry session values into request (if present)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue