From 525b63b83aea714a27bc701894463a7f0bfd7dd4 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Tue, 21 Jan 2014 18:00:23 -0500 Subject: [PATCH] Fix robots being reported outside of org. --- endpoints/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/api.py b/endpoints/api.py index 64519af41..d33a17c1b 100644 --- a/endpoints/api.py +++ b/endpoints/api.py @@ -547,7 +547,7 @@ def prototype_view(proto, org_members): 'name': user.username, 'is_robot': user.robot, 'kind': 'user', - 'is_org_member': user.username in org_members, + 'is_org_member': None if user.robot else user.username in org_members, } if proto.delegate_user: