Merge branch 'master' of github.com:appwrite/appwrite into graphql

This commit is contained in:
Eldad Fux
2020-07-07 15:03:29 +03:00
41 changed files with 363 additions and 441 deletions
+1 -2
View File
@@ -34,9 +34,8 @@ $utopia->post('/v1/users')
->param('name', '', function () { return new Text(100); }, 'User name.', true)
->action(
function ($email, $password, $name) use ($response, $projectDB) {
$profile = $projectDB->getCollection([ // Get user by email address
$profile = $projectDB->getCollectionFirst([ // Get user by email address
'limit' => 1,
'first' => true,
'filters' => [
'$collection='.Database::SYSTEM_COLLECTION_USERS,
'email='.$email,