Commit d0ba1a54 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

pithos: change POST /tokens

move SNF:uiURL under each endpoint
parent 7806941e
......@@ -99,10 +99,10 @@ def authenticate(request):
endpoints = []
for l in ['key', 'value') for e in s.endpoints.all()]:
endpoint = dict((d['key'], d['value']) for d in l)
endpoint["SNF:uiURL"] = s.component.url
"type": s.type,
"SNF:uiURL": s.component.url,
"endpoints": endpoints,
"endpoints_links": []})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment