Linter fix
This commit is contained in:
parent
b1348dbdd8
commit
2d82eed4be
|
@ -1376,7 +1376,7 @@ App::get('/v1/account/logs')
|
|||
$grouped = Query::groupByType($queries);
|
||||
$limit = $grouped['limit'] ?? 25;
|
||||
$offset = $grouped['offset'] ?? 0;
|
||||
|
||||
|
||||
$audit = new EventAudit($dbForProject);
|
||||
|
||||
$logs = $audit->getLogsByUser($user->getId(), $limit, $offset);
|
||||
|
|
|
@ -343,7 +343,7 @@ App::get('/v1/databases/:databaseId/logs')
|
|||
$audit = new Audit($dbForProject);
|
||||
$resource = 'database/' . $databaseId;
|
||||
$logs = $audit->getLogsByResource($resource, $limit, $offset);
|
||||
|
||||
|
||||
$output = [];
|
||||
|
||||
foreach ($logs as $i => &$log) {
|
||||
|
|
|
@ -162,7 +162,7 @@ App::get('/v1/storage/buckets')
|
|||
->inject('dbForProject')
|
||||
->inject('usage')
|
||||
->action(function (array $queries, string $search, Response $response, Database $dbForProject, Stats $usage) {
|
||||
|
||||
|
||||
$queries = Query::parseQueries($queries);
|
||||
|
||||
if (!empty($search)) {
|
||||
|
|
|
@ -877,7 +877,7 @@ App::get('/v1/teams/:teamId/logs')
|
|||
$grouped = Query::groupByType($queries);
|
||||
$limit = $grouped['limit'] ?? 25;
|
||||
$offset = $grouped['offset'] ?? 0;
|
||||
|
||||
|
||||
$audit = new Audit($dbForProject);
|
||||
$resource = 'team/' . $team->getId();
|
||||
$logs = $audit->getLogsByResource($resource, $limit, $offset);
|
||||
|
|
|
@ -10,7 +10,7 @@ class Buckets extends Collection
|
|||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
|
||||
'enabled',
|
||||
'name',
|
||||
'fileSecurity',
|
||||
|
|
|
@ -10,7 +10,7 @@ class Collections extends Collection
|
|||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
|
||||
'name',
|
||||
'enabled',
|
||||
'documentSecurity'
|
||||
|
|
|
@ -10,7 +10,7 @@ class Databases extends Collection
|
|||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
|
||||
'name'
|
||||
];
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ class Deployments extends Collection
|
|||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
|
||||
'entrypoint',
|
||||
'size',
|
||||
'buildId',
|
||||
|
|
|
@ -10,7 +10,7 @@ class Executions extends Collection
|
|||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
|
||||
'trigger',
|
||||
'status',
|
||||
'statusCode',
|
||||
|
|
|
@ -10,7 +10,7 @@ class Files extends Collection
|
|||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
|
||||
'name',
|
||||
'signature',
|
||||
'mimeType',
|
||||
|
|
|
@ -10,7 +10,7 @@ class Functions extends Collection
|
|||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
|
||||
'name',
|
||||
'status',
|
||||
'runtime',
|
||||
|
|
|
@ -10,7 +10,7 @@ class Teams extends Collection
|
|||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
|
||||
'name',
|
||||
'total'
|
||||
];
|
||||
|
|
|
@ -10,7 +10,7 @@ class Users extends Collection
|
|||
'$id',
|
||||
'$createdAt',
|
||||
'$updatedAt',
|
||||
|
||||
|
||||
'name',
|
||||
'email',
|
||||
'phone',
|
||||
|
|
Loading…
Reference in a new issue