- added logging variable 'object_type'
[plcapi.git] / PLC / Methods / SetPersonPrimarySite.py
index 86e96c9..644826b 100644 (file)
@@ -25,6 +25,8 @@ class SetPersonPrimarySite(Method):
 
     returns = Parameter(int, '1 if successful')
 
+    object_type = 'Person'
+
     def call(self, auth, person_id_or_email, site_id_or_login_base):
         # Get account information
         persons = Persons(self.api, [person_id_or_email])