1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 14:21:23 +00:00

[web-api] fix bug when get starred files

This commit is contained in:
lian
2015-07-24 12:15:34 +08:00
parent 525246be74
commit 6bfe3d91dd

View File

@@ -70,6 +70,7 @@ def prepare_starred_files(files):
array = [] array = []
for f in files: for f in files:
sfile = {'org' : f.org_id, sfile = {'org' : f.org_id,
'repo' : f.repo.id,
'repo_id' : f.repo.id, 'repo_id' : f.repo.id,
'repo_name' : f.repo.name, 'repo_name' : f.repo.name,
'path' : f.path, 'path' : f.path,