You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the status codes used in various methods could be improved for better accuracy. For example, a 404 status code is often returned when a timesheet or similar resource is not found. However, since the operation was executed correctly, but no resource was found, a 204 (No Content) status code would be more appropriate.
Using 400-series status codes results in error messages in the console due to how the Axios package handles them, and these cannot be easily suppressed. This leads to unnecessary error logs for cases where the operation is successful but returns no content.
The text was updated successfully, but these errors were encountered:
Currently, the status codes used in various methods could be improved for better accuracy. For example, a 404 status code is often returned when a timesheet or similar resource is not found. However, since the operation was executed correctly, but no resource was found, a 204 (No Content) status code would be more appropriate.
Using 400-series status codes results in error messages in the console due to how the Axios package handles them, and these cannot be easily suppressed. This leads to unnecessary error logs for cases where the operation is successful but returns no content.
The text was updated successfully, but these errors were encountered: