You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/01/09 15:02:57 UTC
[kibble] branch master updated: fix wrong index name
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
The following commit(s) were added to refs/heads/master by this push:
new ce06eb1 fix wrong index name
ce06eb1 is described below
commit ce06eb1211981de59ebd9d08cfb0acce1ddcef21
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Jan 9 16:02:48 2018 +0100
fix wrong index name
---
api/pages/org/members.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/pages/org/members.py b/api/pages/org/members.py
index f3187c9..9db90fd 100644
--- a/api/pages/org/members.py
+++ b/api/pages/org/members.py
@@ -128,7 +128,7 @@ def canInvite(session):
dOrg = session.user['defaultOrganisation'] or "apache"
if session.DB.ES.exists(index=session.DB.dbname, doc_type="org", id= dOrg):
- xorg = session.DB.ES.get(index=session.DB.dbname, doc_type="org", id= dOrg)['_source']
+ xorg = session.DB.ES.get(index=session.DB.dbname, doc_type="organisation", id= dOrg)['_source']
if session.user['email'] in xorg['admins']:
return True
--
To stop receiving notification emails like this one, please contact
['"commits@kibble.apache.org" <co...@kibble.apache.org>'].