feat(transaction): #66 fix inputs
Some checks failed
Build Docker Image / Build-Docker-Image (push) Failing after 4m58s
Some checks failed
Build Docker Image / Build-Docker-Image (push) Failing after 4m58s
This commit is contained in:
@@ -127,12 +127,13 @@ func (h TransactionImpl) handleUpdateTransaction() http.HandlerFunc {
|
||||
err error
|
||||
)
|
||||
input := types.TransactionInput{
|
||||
Id: r.PathValue("id"),
|
||||
AccountId: r.FormValue("account_id"),
|
||||
TreasureChestId: r.FormValue("treasure_chest_id"),
|
||||
Value: r.FormValue("value"),
|
||||
Timestamp: r.FormValue("timestamp"),
|
||||
Note: r.FormValue("note"),
|
||||
Id: r.PathValue("id"),
|
||||
AccountId: r.FormValue("account-id"),
|
||||
TreasureChestId: r.FormValue("treasure-chest-id"),
|
||||
Value: r.FormValue("value"),
|
||||
Timestamp: r.FormValue("timestamp"),
|
||||
TimezoneOffsetMinutes: r.FormValue("timezone-offset"),
|
||||
Note: r.FormValue("note"),
|
||||
}
|
||||
|
||||
if input.Id == "new" {
|
||||
|
||||
Reference in New Issue
Block a user