From 87f2977b22099d0274f77159fb8206f11a30f531 Mon Sep 17 00:00:00 2001 From: Maaike Date: Thu, 23 May 2024 10:38:46 +0200 Subject: [PATCH] use id as resource_id for backend --- wis2box-management/wis2box/api/config/pygeoapi.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/wis2box-management/wis2box/api/config/pygeoapi.py b/wis2box-management/wis2box/api/config/pygeoapi.py index d097cbdb..e0a2ccc8 100644 --- a/wis2box-management/wis2box/api/config/pygeoapi.py +++ b/wis2box-management/wis2box/api/config/pygeoapi.py @@ -142,8 +142,6 @@ def prepare_collection(self, meta: dict) -> bool: if meta['id'] in ['discovery-metadata', 'messages', 'stations']: resource_id = meta['id'] - else: - resource_id = meta['topic_hierarchy'] if meta['id'] in ['discovery-metadata', 'stations']: editable = True