1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

Fix for nested docs structure error #514

This commit is contained in:
Eldad Fux 2020-08-26 18:54:07 +03:00
parent a503173e2e
commit 7391f39798

View file

@ -411,6 +411,7 @@ App::post('/v1/database/collections/:collectionId/documents')
->setAttribute($parentProperty, $data, $parentPropertyType);
$data = $parentDocument->getArrayCopy();
$collection = $projectDB->getDocument($parentDocument->getCollection(), false);
}
/**