Skip to content

Commit 3cc8523

Browse files
authored
services: update cern.py bug fix
1 parent fa11d37 commit 3cc8523

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cap/modules/services/views/cern.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ def ldap_egroup_mail():
122122
return jsonify([])
123123

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

128128

129129
def _oidc(endpoint, query):

0 commit comments

Comments
 (0)