Skip to content

Commit

Permalink
Add get_org_id_by_repo_id() to seafile_api.
Browse files Browse the repository at this point in the history
  • Loading branch information
cuihaikuo committed Sep 13, 2018
1 parent 2d5c951 commit f0eba1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/seaserv/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f0eba1c

Please sign in to comment.