From f0eba1cfeee79919a0e450c0914595db27f0172e Mon Sep 17 00:00:00 2001 From: cuihaikuo Date: Thu, 13 Sep 2018 16:20:58 +0800 Subject: [PATCH] Add get_org_id_by_repo_id() to seafile_api. --- python/seaserv/api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/seaserv/api.py b/python/seaserv/api.py index e31cfe7d..1378f732 100644 --- a/python/seaserv/api.py +++ b/python/seaserv/api.py @@ -166,6 +166,9 @@ def get_commit(self, repo_id, repo_version, cmt_id): def get_system_default_repo_id (self): return seafserv_threaded_rpc.get_system_default_repo_id() + def get_org_id_by_repo_id (self, repo_id): + return seafserv_threaded_rpc.get_org_id_by_repo_id(repo_id) + # File property and dir listing def is_valid_filename(self, repo_id, filename):