1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Merge branch 'feat-database-indexing' into feat-audit-abuse

This commit is contained in:
Damodar Lohani 2021-06-08 16:04:01 +05:45
commit ed0efed843

View file

@ -54,7 +54,7 @@ App::post('/v1/projects')
/** @var Utopia\Database\Database $dbForInternal */
/** @var Utopia\Database\Database $dbForExternal */
$team = $dbForInternal->getDocument('teams', $teamId);
$team = $dbForConsole->getDocument('teams', $teamId);
if ($team->isEmpty()) {
throw new Exception('Team not found', 404);