Fix: licence read-only mode blocks the v2 routes too (1.52.3)
The read-only guard only listed v1 paths, and every screen has used /api/v2 since 1.51.15, so a suspended, revoked or unlicensed site could still create events, take registrations and start payments. The v2 successors of each blocked v1 route are blocked now; a test checks each blocked v2 path exists in the OpenAPI document. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hope-events",
|
||||
"version": "1.52.2",
|
||||
"version": "1.52.3",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev:backend": "cd backend && npm run dev",
|
||||
|
||||
Reference in New Issue
Block a user