mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
fix: var ref.
This commit is contained in:
parent
ef30e827c7
commit
938b376f3c
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ class Update extends Action
|
|||
$response->dynamic($document, $this->getResponseModel());
|
||||
|
||||
$relationships = \array_map(
|
||||
fn ($row) => $document->getAttribute('key'),
|
||||
fn ($document) => $document->getAttribute('key'),
|
||||
\array_filter(
|
||||
$collection->getAttribute('attributes', []),
|
||||
fn ($attribute) => $attribute->getAttribute('type') === Database::VAR_RELATIONSHIP
|
||||
|
|
|
|||
Loading…
Reference in a new issue