X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FAddPersonKey.py;h=335b4038eb266e18a4ac11cd9b242cf4a94a9f13;hb=d39ed0538a3ad7090d8188a691849ab07733d784;hp=3a06a343f76e5b4e3e148e65d2f4e856aaafb60b;hpb=753b291058dcc75ce017b216b8ec93bf5978136d;p=plcapi.git diff --git a/PLC/Methods/AddPersonKey.py b/PLC/Methods/AddPersonKey.py index 3a06a34..335b403 100644 --- a/PLC/Methods/AddPersonKey.py +++ b/PLC/Methods/AddPersonKey.py @@ -60,7 +60,7 @@ class AddPersonKey(Method): (key['key_id'], person['person_id']) # sync with the geni db - sfa = SFA() + sfa = SFA(self.api) sfa.update_record(person, 'person') return key['key_id']