Skip to content

Commit

Permalink
use id as resource_id for backend
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper committed May 23, 2024
1 parent 5aabacc commit 87f2977
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions wis2box-management/wis2box/api/config/pygeoapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87f2977

Please sign in to comment.