Skip to content

Commit

Permalink
Remove json dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
vale95-eng committed Jun 17, 2024
1 parent aa10db5 commit 19a4527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/app/oai_dcat/metadata_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def listRecords(self, metadataPrefix='dcat_ap', from_=None, until=None, set=None
)
'''
try:
data = json.dumps(dataset_handler.get_product_details(
data = dataset_handler.get_product_details(
user_roles_names=['public'],
dataset_id=set,
))
)
except exc.BaseDDSException as err:
raise err.wrap_around_http_exception() from err

Expand Down

0 comments on commit 19a4527

Please sign in to comment.