file_manager: rename "filename" field to "path" in "/server/files/list" request
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
b2f8413057
commit
316c6b5fa1
|
@ -519,7 +519,7 @@ class FileManager:
|
|||
if list_format:
|
||||
flist = []
|
||||
for fname in sorted(filelist, key=str.lower):
|
||||
fdict = {'filename': fname}
|
||||
fdict = {'path': fname}
|
||||
fdict.update(filelist[fname])
|
||||
flist.append(fdict)
|
||||
return flist
|
||||
|
|
Loading…
Reference in New Issue