Commit f03aa842 authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[cragr] return iterable advisors for api website

boobank need iterable element
parent a6c869d0
...@@ -535,12 +535,12 @@ class CragrAPI(LoginBrowser): ...@@ -535,12 +535,12 @@ class CragrAPI(LoginBrowser):
advisor = advisor =
self.profile_details.go() self.profile_details.go()
return advisor yield advisor
elif owner_type == 'ORGA': elif owner_type == 'ORGA':
advisor = advisor =
self.pro_profile_details.go() self.pro_profile_details.go()
return advisor yield advisor
@need_login @need_login
def get_profile(self): def get_profile(self):
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