Skip to content

Commit

Permalink
Rename listFiles to propfind
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Nov 2, 2022
1 parent 8ec8b0a commit 6da0ada
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web-app-files/src/services/folder/loaderSpace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export class FolderLoaderSpace implements FolderLoader {
try {
store.commit('Files/CLEAR_CURRENT_FILES_LIST')

const listFilesResult = yield webdav.listFiles(space, { path, fileId })
const resources = listFilesResult.children
let currentFolder = listFilesResult.resource
const propfindResult = yield webdav.listFiles(space, { path, fileId })
const resources = propfindResult.children
let currentFolder = propfindResult.resource
replaceInvalidFileRoute({ space, resource: currentFolder, path, fileId })

if (path === '/') {
Expand Down

0 comments on commit 6da0ada

Please sign in to comment.