- added logging variable 'object_type'
[plcapi.git] / PLC / Methods / AddPersonKey.py
index 0c36284..0bba3a1 100644 (file)
@@ -29,6 +29,8 @@ class AddPersonKey(Method):
 
     returns = Parameter(int, 'New key_id (> 0) if successful')
 
+    object_type = 'Person'
+
 
     def call(self, auth, person_id_or_email, key_fields):
         key_fields = dict(filter(can_update, key_fields.items()))