fix: restore watched-case deletion through subscriptions facade

This commit is contained in:
2026-11-05 10:02:30 +00:00
parent 569faa77e5
commit eeb4a1f441
+2 -1
View File
@@ -27,6 +27,7 @@ ApiProxy.get(async (req, res) => {
"/api/endpoint/getportallogin_api",
"/api/endpoint/deletemyrepresentations_api",
"/api/endpoint/deletewatchedcases_api",
"/api/subscriptions/delete-watched-case",
"/api/file/upload",
"/api/file/uploadsinglefile",
"/api/file/deleteblobcase",
@@ -41,7 +42,7 @@ ApiProxy.get(async (req, res) => {
typeof queryPath !== "string" ||
queryPath.length === 0 ||
!queryPath.startsWith("/api/") ||
!allowedPrefix.some((prefix) => queryPath.startsWith(prefix)) ||
!allowedPrefix.includes(queryPath) ||
queryPath.includes("/api/endpoint/gethash_api")
) {
return respondError(res, {