New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't submit timesheet entries. #36
Comments
|
For context the frontend used 2 options for fixing this:
I think both solutions are good, as long as in the end the backend supports only 1 way to do this, not both. |
After some thought, I think the best approach is to change the frontend to POST to |
|
badgateway/tt-app#48 should resolve this issue |
…tries Cant submit timesheet entries. #36
Task Summary
Need to be able to submit/save timesheet entries to the API, either automatically or by hitting the SUBMIT button on the timesheet row.
Context
After some testing we found that the endpoint is making a POST request on
/person/1/sheet/2022/42Contextually, this doesn't make sense bc
person/1/entrywould be ideal next to this submit.After discussing with @evert and the gang, we came to the conclusion it would be best for
the endpoint:
/person/1/sheet/{year}/{week}to dynamically accept either a single day's entry or the entire weeks' entry.
The text was updated successfully, but these errors were encountered: