Skip to content

Commit

Permalink
Set list files request depth to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Jun 2, 2022
1 parent 2018ce0 commit d103b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-app-files/src/helpers/resource/move.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const resolveAllConflicts = async (
$gettextInterpolate,
resolveFileExistsMethod
) => {
const targetFolderItems = await client.files.list(targetFolder.webDavPath, 50)
const targetFolderItems = await client.files.list(targetFolder.webDavPath, 1)
const targetPath = targetFolder.path
const index = targetFolder.webDavPath.lastIndexOf(targetPath)
const webDavPrefix = targetFolder.webDavPath.substring(0, index)
Expand Down

0 comments on commit d103b4b

Please sign in to comment.