1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +12:00

feat: address review comments

This commit is contained in:
Christy Jacob 2020-12-24 19:46:31 +05:30
parent 92907fca07
commit 1fe931410d
3 changed files with 3 additions and 5 deletions

View file

@ -5,10 +5,8 @@ global $cli;
require_once __DIR__.'/../init.php';
use Appwrite\Database\Database;
use Appwrite\Database\Document;
use Appwrite\Database\Adapter\MySQL as MySQLAdapter;
use Appwrite\Database\Adapter\Redis as RedisAdapter;
use Appwrite\Database\Validator\Authorization;
use Appwrite\Event\Event;
use Utopia\App;
use Utopia\CLI\Console;

View file

@ -238,7 +238,7 @@ class DeletesV1
Authorization::disable();
$projects = $this->getConsoleDB()->getCollection([
'limit' => $limit,
'offset' => 0,
'offset' => $count,
'orderField' => '$id',
'orderType' => 'ASC',
'orderCast' => 'string',
@ -282,7 +282,7 @@ class DeletesV1
$results = $database->getCollection([
'limit' => $limit,
'offset' => 0,
'offset' => $count,
'orderField' => '$id',
'orderType' => 'ASC',
'orderCast' => 'string',

View file

@ -55,7 +55,7 @@ services:
- ./psalm.xml:/usr/src/code/psalm.xml
- ./tests:/usr/src/code/tests
- ./app:/usr/src/code/app
- ./vendor:/usr/src/code/vendor
# - ./vendor:/usr/src/code/vendor
- ./docs:/usr/src/code/docs
- ./public:/usr/src/code/public
- ./src:/usr/src/code/src