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

Removed debug

This commit is contained in:
Eldad Fux 2020-03-19 08:23:50 +02:00
parent f8bbdfb924
commit 58807de605

View file

@ -1383,24 +1383,4 @@ $utopia->delete('/v1/projects/:projectId/domains/:domainId')
$response->noContent();
}
);
$utopia->get('/v1/projects/x/certs')
->desc('List Domains')
->label('scope', 'public')
->action(
function () use ($response, $consoleDB) {
\Database\Validator\Authorization::disable();
$results = $consoleDB->getCollection([
'limit' => 2000,
'offset' => 0,
'filters' => [
'$collection='.Database::SYSTEM_COLLECTION_USERS,
],
]);
\Database\Validator\Authorization::reset();
$response->json($results);
}
);