removed unneeded field, fixed not setting spent amount
This commit is contained in:
@@ -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(),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user