0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-22 07:40:58 +00:00

Users API: Fixed incorrect created_at date on index endpoint

For 
This commit is contained in:
Dan Brown 2023-06-17 18:18:17 +01:00
parent ec775aec02
commit 00b5dd7852
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
4 changed files with 27 additions and 2 deletions
app/Users/Controllers

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']);