feat(budget): rename description to name
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m25s
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m25s
This commit is contained in:
@@ -50,7 +50,7 @@ func (h HandlerImpl) handlePage() http.HandlerFunc {
|
||||
|
||||
budgets, err := h.s.GetAll(r.Context(), user)
|
||||
if err != nil {
|
||||
core.HandleError(w, r, err)
|
||||
h.r.RenderLayout(r, w, core.ErrorComp(err), user)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -133,9 +133,9 @@ func (h HandlerImpl) handlePost() http.HandlerFunc {
|
||||
value := int64(math.Round(valueF * DECIMALS_MULTIPLIER))
|
||||
|
||||
input := Budget{
|
||||
Id: id,
|
||||
Description: r.FormValue("name"),
|
||||
Value: value,
|
||||
Id: id,
|
||||
Name: r.FormValue("name"),
|
||||
Value: value,
|
||||
}
|
||||
|
||||
if idStr == "new" {
|
||||
|
||||
Reference in New Issue
Block a user