fix: move from stat to loadFile

This commit is contained in:
Manuel Jenny 2021-03-19 15:00:40 +01:00
parent 44c5029651
commit 2158e2a0d4
No known key found for this signature in database
GPG Key ID: 1C80FE62B2BEAA18

View File

@ -160,7 +160,7 @@ class PCloudImpl {
RemoteFolder remoteFolder = client().listFolder(node.getPath()).execute();
idCache.add(PCloudNodeFactory.folder(node.getParent(), remoteFolder));
} else {
RemoteFile remoteFile = client().stat(node.getPath()).execute();
RemoteFile remoteFile = client().loadFile(node.getPath()).execute();
idCache.add(PCloudNodeFactory.file(node.getParent(), remoteFile));
}
return true;