Skip to content

Commit 61b5829

Browse files
authored
services: fixes bug after ldap update
1 parent 258d3fa commit 61b5829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cap/modules/services/views/cern.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def ldap_egroup_mail():
123123

124124
resp, status = _ldap(query, sf, by='egroup')
125125
data = [x[1]['mail'][0] for x in resp]
126-
return jsonify(data)
126+
return jsonify(str(data))
127127

128128

129129
def _oidc(endpoint, query):

0 commit comments

Comments
 (0)