Skip to content

Commit

Permalink
fixed rdf for single entity
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Nov 2, 2023
1 parent 429087e commit 26f2f46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openatlas/api/resources/resolve_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def get_entity_formatted(
'entity': entity,
'links': get_all_links_of_entities(entity.id),
'links_inverse': get_all_links_of_entities_inverse(entity.id)}
if parser['format'] == 'loud':
if parser['format'] == 'loud' \
or parser['format'] in app.config['RDF_FORMATS']:
return get_loud_entities(entity_dict, parse_loud_context())
return get_linked_places_entity(entity_dict, parser)

Expand Down

0 comments on commit 26f2f46

Please sign in to comment.