diff --git a/pwa/src/apiService/resources/availableFilters.ts b/pwa/src/apiService/resources/availableFilters.ts index 05b33510..0a488ffe 100644 --- a/pwa/src/apiService/resources/availableFilters.ts +++ b/pwa/src/apiService/resources/availableFilters.ts @@ -14,7 +14,7 @@ export default class AvailableFilters { let endpoint = "/openWOO?_queries[]=Categorie"; if (window.sessionStorage.getItem("OIDN_NUMBER")) { - endpoint += `&oidn=${window.sessionStorage.getItem("OIDN_NUMBER")}`; + endpoint += `&behandelendBestuursorgaan.oidn=${window.sessionStorage.getItem("OIDN_NUMBER")}`; } const { data } = await this._send(this._instance, "GET", endpoint); diff --git a/pwa/src/apiService/resources/openWoo.ts b/pwa/src/apiService/resources/openWoo.ts index 277bc315..f9ee2e18 100644 --- a/pwa/src/apiService/resources/openWoo.ts +++ b/pwa/src/apiService/resources/openWoo.ts @@ -20,7 +20,7 @@ export default class OpenWoo { )}&_order[Publicatiedatum]=desc&_limit=${limit}&_page=${currentPage}`; if (window.sessionStorage.getItem("OIDN_NUMBER")) { - endpoint += `&oidn=${window.sessionStorage.getItem("OIDN_NUMBER")}`; + endpoint += `&behandelendBestuursorgaan.oidn=${window.sessionStorage.getItem("OIDN_NUMBER")}`; } const { data } = await this._send(this._instance, "GET", endpoint);