mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Make sure fileinfo exists when calling getCheckSum in node API
This commit is contained in:
parent
97b2e19c78
commit
41ba9280f7
1 changed files with 1 additions and 1 deletions
|
|
@ -169,6 +169,6 @@ class File extends Node implements \OCP\Files\File {
|
|||
* @inheritdoc
|
||||
*/
|
||||
public function getChecksum() {
|
||||
return $this->fileInfo->getChecksum();
|
||||
return $this->getFileInfo()->getChecksum();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue