relationType
This commit is contained in:
parent
f5f51c4fc9
commit
b1cc4ada4c
2 changed files with 2 additions and 2 deletions
|
@ -1396,7 +1396,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/relati
|
|||
'filters' => [],
|
||||
'options' => [
|
||||
'relatedCollectionId' => $relatedCollectionId,
|
||||
'type' => $type,
|
||||
'relationType' => $type,
|
||||
'twoWay' => $twoWay,
|
||||
'twoWayKey' => $twoWayKey,
|
||||
'onUpdate' => $onUpdate,
|
||||
|
|
|
@ -100,7 +100,7 @@ class DatabaseV1 extends Worker
|
|||
!$dbForProject->createRelationship(
|
||||
collection: 'database_' . $database->getInternalId() . '_collection_' . $collection->getInternalId(),
|
||||
relatedCollection: 'database_' . $database->getInternalId() . '_collection_' . $relatedCollection->getInternalId(),
|
||||
type: $options['type'],
|
||||
type: $options['relationType'],
|
||||
twoWay: $options['twoWay'],
|
||||
id: $options['id'],
|
||||
twoWayKey: $options['twoWayKey'],
|
||||
|
|
Loading…
Reference in a new issue