diff --git a/src/main/java/com/github/zxbu/webdavteambition/store/TeambitionClientService.java b/src/main/java/com/github/zxbu/webdavteambition/store/TeambitionClientService.java index 5373d18..5e78378 100644 --- a/src/main/java/com/github/zxbu/webdavteambition/store/TeambitionClientService.java +++ b/src/main/java/com/github/zxbu/webdavteambition/store/TeambitionClientService.java @@ -161,7 +161,7 @@ public class TeambitionClientService { renameRequest.setDriveId(client.getDriveId()); renameRequest.setOrgId(client.getOrgId()); renameRequest.setName(pathInfo.getName()); - client.put("/pan/api/nodes/" + parent.getNodeId(), renameRequest); + client.put("/pan/api/nodes/" + uploadPreResult.getNodeId(), renameRequest); } clearCache(); }