remove simplejson dependency
[plcapi.git] / PLC / Methods / AddRole.py
index bed028a..d42858f 100644 (file)
@@ -27,6 +27,6 @@ class AddRole(Method):
         role['role_id'] = role_id
         role['name'] = name
         role.sync(insert = True)
-       self.object_ids = [role['role_id']]
+        self.event_objects = {'Role': [role['role_id']]}
 
         return 1