1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00

some fixes

This commit is contained in:
shimon 2022-08-13 17:55:27 +03:00
parent 51e3fc8cab
commit 630954c94e
2 changed files with 1 additions and 1 deletions

View file

@ -1321,7 +1321,6 @@ App::get('/v1/account/logs')
->action(function (int $limit, int $offset, Response $response, Document $user, Locale $locale, Reader $geodb, Database $dbForProject, Stats $usage) {
$audit = new EventAudit($dbForProject);
var_dump($user);
$logs = $audit->getLogsByUser($user->getId(), $limit, $offset);
$output = [];

View file

@ -33,6 +33,7 @@ App::post('/v1/users')
->groups(['api', 'users'])
->label('event', 'users.[userId].create')
->label('scope', 'users.write')
->label('audits.resource', 'user/{response.$id}')
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
->label('sdk.namespace', 'users')
->label('sdk.method', 'create')