Browse Source

调整重命名的BUG

main
zhouxin5253@163.com 4 years ago
parent
commit
537191461b
  1. 2
      src/main/java/com/github/zxbu/webdavteambition/store/TeambitionClientService.java

2
src/main/java/com/github/zxbu/webdavteambition/store/TeambitionClientService.java

@ -161,7 +161,7 @@ public class TeambitionClientService {
renameRequest.setDriveId(client.getDriveId()); renameRequest.setDriveId(client.getDriveId());
renameRequest.setOrgId(client.getOrgId()); renameRequest.setOrgId(client.getOrgId());
renameRequest.setName(pathInfo.getName()); renameRequest.setName(pathInfo.getName());
client.put("/pan/api/nodes/" + parent.getNodeId(), renameRequest); client.put("/pan/api/nodes/" + uploadPreResult.getNodeId(), renameRequest);
} }
clearCache(); clearCache();
} }

Loading…
Cancel
Save