Skip to content

Commit

Permalink
Use sbs_url from upostream sbs
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw committed Dec 6, 2023
1 parent 3afa8e7 commit 41a1a58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ def service_collaborations(self):
for s in (o.get('services', []) + c.get('services', [])):
result[services[s]['ldap_identifier']]['cos'][c['id']] = c

c['sbs_url'] = "{}/collaborations/{}".format(self.host, c['identifier'])
if not 'sbs_url' in c:
raise SyntaxError(f"Missing sbs_url in CO '{c['id']}'")

return result

Expand Down

0 comments on commit 41a1a58

Please sign in to comment.