Skip to content

Creation date/time retrieved by Users-LIST API is incorrect. #4325

Description

@toras9000

Describe the Bug

In the LIST endpoint of the Users API, the created_at field value of the responded list element appears to be incorrect.
From the looks of it, it appears to be the same as the value of last_activity_at.
However, i do not know if this is really the case.

Steps to Reproduce

  1. Create new user.
  2. Obtain a list of users with the Users-LIST API.
    • The new user's created_at and last_activity_at are null.
  3. Log in to the new user with a browser.
  4. Obtain a list of users with the Users-LIST API.
    • The new user's created_at and last_activity_at are the same date and time.

Expected Behaviour

Users-LIST API gets the correct created_at.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v23.05.02

PHP Version

No response

Hosting Environment

Docker image, lscr.io/linuxserver/bookstack:version-v23.05.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions