wip: invoices api

This commit is contained in:
2025-06-16 16:41:02 +01:00
parent 82c4475ece
commit 6c37031b00
12 changed files with 675 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func (api *API) GetAllUsersHandler(context echo.Context) error {
users, err := api.db.GetUsers()
if err != nil {
return types.Error{Code: http.StatusInternalServerError, Cause: err, Messages: []string{"Unexpected error getting User!"}}
return types.Error{Code: http.StatusInternalServerError, Cause: err, Messages: []string{"Unexpected error getting Users!"}}
}
return context.JSON(http.StatusOK, users)