Skip to content

Commit

Permalink
Minor API fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWatzinger committed Oct 3, 2023
1 parent ada7308 commit 289e40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openatlas/api/resources/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def get_reference_systems(
links_inverse: list[Link]) -> list[dict[str, Any]]:
ref = []
for link_ in links_inverse:
if not isinstance(link_.domain, ReferenceSystem):
if not isinstance(link_.domain, ReferenceSystem) or not link_.type:
continue
system = g.reference_systems[link_.domain.id]
ref.append({
Expand Down

0 comments on commit 289e40b

Please sign in to comment.