From 15d1badafbbeb33b2a770f18eb24ce8ff6522d5a Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 29 Mar 2023 13:37:03 +1300 Subject: [PATCH] Update param desc --- app/controllers/api/databases.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php index 0cc31393fc..b24ace4ec5 100644 --- a/app/controllers/api/databases.php +++ b/app/controllers/api/databases.php @@ -1509,7 +1509,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/relati ->label('sdk.response.model', Response::MODEL_ATTRIBUTE_RELATIONSHIP) ->param('databaseId', '', new UID(), 'Database ID.') ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') - ->param('relatedCollectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') + ->param('relatedCollectionId', '', new UID(), 'Related Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') ->param('type', '', new WhiteList([Database::RELATION_ONE_TO_ONE, Database::RELATION_MANY_TO_ONE, Database::RELATION_MANY_TO_MANY, Database::RELATION_ONE_TO_MANY], true), 'Relation type') ->param('twoWay', false, new Boolean(), 'Is Two Way?', true) ->param('key', null, new Key(), 'Attribute Key.', true)