1
0
Fork 0
mirror of synced 2024-06-28 19:20:25 +12:00

Update get logs by user to pass user internal id

The userId in audit is actually the userInternalId.
This commit is contained in:
Steven Nguyen 2023-07-12 10:56:24 -07:00
parent 187f3dc6ff
commit 9908a9021f
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -1427,7 +1427,7 @@ App::get('/v1/account/logs')
$audit = new EventAudit($dbForProject);
$logs = $audit->getLogsByUser($user->getId(), $limit, $offset);
$logs = $audit->getLogsByUser($user->getInternalId(), $limit, $offset);
$output = [];

View file

@ -577,7 +577,7 @@ App::get('/v1/users/:userId/logs')
$audit = new Audit($dbForProject);
$logs = $audit->getLogsByUser($user->getId(), $limit, $offset);
$logs = $audit->getLogsByUser($user->getInternalId(), $limit, $offset);
$output = [];