diff --git a/app/console b/app/console index 7da96eef2f..c643c77f30 160000 --- a/app/console +++ b/app/console @@ -1 +1 @@ -Subproject commit 7da96eef2f125acd4db48bdce6dd8c8cc5bcecb8 +Subproject commit c643c77f30d63db1c704d2c114e59d5c886db4dd diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php index caab5cf5d5..930392785c 100644 --- a/app/controllers/api/databases.php +++ b/app/controllers/api/databases.php @@ -332,7 +332,7 @@ function updateAttribute( $dbForProject->updateRelationship( collection: $collectionId, - key: $key, + id: $key, onDelete: $options['onDelete'], ); diff --git a/composer.lock b/composer.lock index db68fe530f..4ad60bac6b 100644 --- a/composer.lock +++ b/composer.lock @@ -2116,12 +2116,12 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "f9e242aeb7f58cc1faf920038f97b20f8703935b" + "reference": "c7f9e47ff5c8241de76c4843135cc3755d32c67e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/f9e242aeb7f58cc1faf920038f97b20f8703935b", - "reference": "f9e242aeb7f58cc1faf920038f97b20f8703935b", + "url": "https://api.github.com/repos/utopia-php/database/zipball/c7f9e47ff5c8241de76c4843135cc3755d32c67e", + "reference": "c7f9e47ff5c8241de76c4843135cc3755d32c67e", "shasum": "" }, "require": { @@ -2166,7 +2166,7 @@ "issues": "https://github.com/utopia-php/database/issues", "source": "https://github.com/utopia-php/database/tree/feat-relationships" }, - "time": "2023-04-03T09:08:59+00:00" + "time": "2023-04-05T08:10:33+00:00" }, { "name": "utopia-php/domains",