Fix for nested docs structure error #514
This commit is contained in:
parent
a503173e2e
commit
7391f39798
1 changed files with 1 additions and 0 deletions
|
@ -411,6 +411,7 @@ App::post('/v1/database/collections/:collectionId/documents')
|
|||
->setAttribute($parentProperty, $data, $parentPropertyType);
|
||||
|
||||
$data = $parentDocument->getArrayCopy();
|
||||
$collection = $projectDB->getDocument($parentDocument->getCollection(), false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue