From 766d2fcb105c41220e8dd1dbb1f925c5dce58b95 Mon Sep 17 00:00:00 2001 From: Remko Date: Fri, 17 Nov 2023 15:38:41 +0100 Subject: [PATCH] updated oidn --- pwa/src/apiService/resources/availableFilters.ts | 2 +- pwa/src/apiService/resources/openWoo.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);