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:
Arksine authored and Eric Callahan committed 2021-05-18 19:12:54 -04:00
1 parent b2f8413057
commit 316c6b5fa1
1 file changed
+1 -1
+1 -1
View File
@@ -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