X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FSetPersonPrimarySite.py;h=644826b676acad9359589665ddbce3ba7f3abd53;hb=c31715a2ac263b730da41ef7d5ff41d15af4357f;hp=86e96c9ed466c77f62aee3d784cbe6d31adad1e4;hpb=3109053993ebf2560153f73e54fb48d75b4a5ce7;p=plcapi.git diff --git a/PLC/Methods/SetPersonPrimarySite.py b/PLC/Methods/SetPersonPrimarySite.py index 86e96c9..644826b 100644 --- a/PLC/Methods/SetPersonPrimarySite.py +++ b/PLC/Methods/SetPersonPrimarySite.py @@ -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])