Skip to content

Commit

Permalink
Merge pull request #101 from bento-platform/fix-org-url
Browse files Browse the repository at this point in the history
all default handling for optional field welcomeUrl
  • Loading branch information
gsfk authored Aug 12, 2024
2 parents e596d22 + 19af638 commit 9b1ffe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bento_beacon/endpoints/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def build_ga4gh_service_info():
"name": info["name"],
"type": {"artifact": "Beacon v2", "group": "org.ga4gh", "version": info["apiVersion"]},
"environment": info["environment"],
"organization": {"name": info["organization"]["name"], "url": info["organization"]["welcomeUrl"]},
"organization": {"name": info["organization"]["name"], "url": info["organization"].get("welcomeUrl", "")},
"contactUrl": info["organization"]["contactUrl"],
"version": info["version"],
"bento": {"serviceKind": "beacon"},
Expand Down

0 comments on commit 9b1ffe6

Please sign in to comment.