fixes #116: strip complete list of registered persons from a person events
This commit is contained in:
parent
17a2412201
commit
9fef909d1d
1 changed files with 2 additions and 0 deletions
|
@ -377,6 +377,8 @@ class PersonsHandler(CollectionHandler):
|
|||
if str(persons.get('person_id')) == id_:
|
||||
person_data = persons
|
||||
break
|
||||
if 'persons' in event:
|
||||
del event['persons']
|
||||
event['person_data'] = person_data
|
||||
if resource_id and events:
|
||||
return events[0]
|
||||
|
|
Loading…
Reference in a new issue