From 58807de605bb2fcd125cfcb52b7c60ffac714329 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 19 Mar 2020 08:23:50 +0200 Subject: [PATCH] Removed debug --- app/controllers/api/projects.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 7a4a9f5f4a..80a2706534 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -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); - } ); \ No newline at end of file