Skip to content

Return current time-entry #89

@enriquezrene

Description

@enriquezrene

As a user, I want to open the app and see the last time-entry created that has not been clocked-out so I can clock-out it whenever I want.

The endpoint will return a time-entry object using the information provided in the Authorization header (JWT). If not time-entry found a 404 needs to be returned. Bear in mind, the API only allows one active time-entry per user.

Once this endpoint has been implemented please provide all the details to the UI team.
Mention how this endpoint works as a comment in this ticket
ioet/time-tracker-ui#150

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsecurityFeatures related to authentication and authorization or any sort of security measure.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions