Skip to content

Commit

Permalink
fix: remove typo from relation create method
Browse files Browse the repository at this point in the history
  • Loading branch information
Katalam committed Sep 6, 2024
1 parent 07b9b76 commit 8716d1a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
## main

## v0.13.6
- Fixed typo on relation create

## v0.13.5
- Fixed estate find method

Expand Down
4 changes: 2 additions & 2 deletions src/Query/RelationBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ public function create(): array
OnOfficeResourceType::Relation,
parameters: [
OnOfficeService::RELATIONTYPE => $this->relationType,
OnOfficeService::PARENTIDS => $this->parentIds,
OnOfficeService::CHILDIDS => $this->childIds,
OnOfficeService::PARENTID => $this->parentIds,
OnOfficeService::CHILDID => $this->childIds,
...$this->customParameters,
],
);
Expand Down
4 changes: 4 additions & 0 deletions src/Services/OnOfficeParameterConst.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ trait OnOfficeParameterConst

public const PARENTIDS = 'parentids';

public const PARENTID = 'parentid';

public const CHILDIDS = 'childids';

public const CHILDID = 'childid';

public const RECORDIDS = 'recordids';

public const PARAMETERCACHEID = 'parameterCacheId';
Expand Down

0 comments on commit 8716d1a

Please sign in to comment.