- added logging variable 'object_type'
[plcapi.git] / PLC / Methods / AddRoleToPerson.py
index 3b583f7..b90f1f9 100644 (file)
@@ -27,6 +27,8 @@ class AddRoleToPerson(Method):
 
     returns = Parameter(int, '1 if successful')
 
+    object_type = 'Person'
+
 
     def call(self, auth, role_id_or_name, person_id_or_email):
         # Get role