removed unneeded field, fixed not setting spent amount

This commit is contained in:
2021-10-17 04:17:02 +02:00
parent fd8c026a8e
commit 9973951d4b
9 changed files with 12 additions and 285 deletions

View File

@@ -25,13 +25,6 @@ func (Match) Fields() []ent.Field {
field.Int("match_result"),
field.Int("max_rounds"),
field.Bool("demo_parsed").Default(false),
field.JSON("eco", struct {
Rounds []*struct {
Team int `json:"team"`
Bank int `json:"bank"`
Equipment int `json:"equipment"`
} `json:"rounds"`
}{}).Optional(),
}
}