feat(transaction): #85 replace datetime with date
This commit was merged in pull request #89.
This commit is contained in:
@@ -132,13 +132,12 @@ 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"),
|
||||
TimezoneOffsetMinutes: r.FormValue("timezone-offset"),
|
||||
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"),
|
||||
Note: r.FormValue("note"),
|
||||
}
|
||||
|
||||
if input.Id == "new" {
|
||||
|
||||
Reference in New Issue
Block a user