1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-31 15:11:08 +00:00

Add set_reference_id() to ccnet_api

This commit is contained in:
cuihaikuo
2017-09-05 17:08:03 +08:00
parent fee2899575
commit 1dbc15f38e

View File

@@ -974,4 +974,10 @@ class CcnetAPI(object):
def set_org_name(self, org_id, org_name):
return ccnet_threaded_rpc.set_org_name(org_id, org_name)
def get_primary_id (self, email):
return ccnet_threaded_rpc.get_primary_id(email)
def set_reference_id (self, primary_id, reference_id):
return ccnet_threaded_rpc.set_reference_id(primary_id, reference_id)
ccnet_api = CcnetAPI()