1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Users API: Fixed incorrect created_at date on index endpoint

For #4325
This commit is contained in:
Dan Brown
2023-06-17 18:18:17 +01:00
parent ec775aec02
commit 00b5dd7852
4 changed files with 27 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class UserApiController extends ApiController
*/
public function list()
{
$users = User::query()->select(['*'])
$users = User::query()->select(['users.*'])
->scopes('withLastActivityAt')
->with(['avatar']);