diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c29279..ade4b2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog ## main +## v0.7.2 +- Fixed a typo where the delete method of estate files returns an error + ## v0.7.1 - Added delete to estate file repository diff --git a/src/Query/EstateFileBuilder.php b/src/Query/EstateFileBuilder.php index fb297f0..7a2f311 100644 --- a/src/Query/EstateFileBuilder.php +++ b/src/Query/EstateFileBuilder.php @@ -109,7 +109,7 @@ public function delete(int $id): bool OnOfficeResourceType::FileRelation, parameters: [ 'fileId' => $id, - 'parentId' => $this->estateId, + 'parentid' => $this->estateId, 'relationtype' => 'estate', ], );