From 9ac2a4f94cd91dd977406d02433a5b17b95be73d Mon Sep 17 00:00:00 2001 From: kodumbeats Date: Wed, 21 Jul 2021 09:22:34 -0400 Subject: [PATCH] Remove outdated comments --- app/controllers/api/database.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/api/database.php b/app/controllers/api/database.php index 92a4f802f7..b8c2f6ab8d 100644 --- a/app/controllers/api/database.php +++ b/app/controllers/api/database.php @@ -456,9 +456,7 @@ App::post('/v1/database/collections/:collectionId/indexes') ->param('id', null, new Key(), 'Index ID.') ->param('type', null, new WhiteList([Database::INDEX_KEY, Database::INDEX_FULLTEXT, Database::INDEX_UNIQUE, Database::INDEX_SPATIAL, Database::INDEX_ARRAY]), 'Index type.') ->param('attributes', null, new ArrayList(new Key()), 'Array of attributes to index.') - // TODO@kodumbeats debug below ->param('orders', [], new ArrayList(new WhiteList(['ASC', 'DESC'], false, Database::VAR_STRING)), 'Array of index orders.', true) - // ->param('orders', [], new ArrayList(new Text(4)), 'Array of index orders.', true) ->inject('response') ->inject('dbForExternal') ->inject('database')