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

update starred file api (#2840)

return repo_encrypted field
This commit is contained in:
lian
2019-01-17 11:51:00 +08:00
committed by Daniel Pan
parent aeff5144dd
commit 23cae95047

View File

@@ -62,7 +62,8 @@ def prepare_starred_files(files):
'file_name' : os.path.basename(f.path),
'mtime' : f.last_modified,
'mtime_relative': translate_seahub_time(f.last_modified),
'dir' : f.is_dir
'dir' : f.is_dir,
'repo_encrpyted' : f.repo.encrypted
}
if not f.is_dir:
try: