fix: move from stat
to loadFile
This commit is contained in:
parent
44c5029651
commit
2158e2a0d4
@ -160,7 +160,7 @@ class PCloudImpl {
|
|||||||
RemoteFolder remoteFolder = client().listFolder(node.getPath()).execute();
|
RemoteFolder remoteFolder = client().listFolder(node.getPath()).execute();
|
||||||
idCache.add(PCloudNodeFactory.folder(node.getParent(), remoteFolder));
|
idCache.add(PCloudNodeFactory.folder(node.getParent(), remoteFolder));
|
||||||
} else {
|
} else {
|
||||||
RemoteFile remoteFile = client().stat(node.getPath()).execute();
|
RemoteFile remoteFile = client().loadFile(node.getPath()).execute();
|
||||||
idCache.add(PCloudNodeFactory.file(node.getParent(), remoteFile));
|
idCache.add(PCloudNodeFactory.file(node.getParent(), remoteFile));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user