Skip to content

Commit

Permalink
fix: 🐛 some card fields set omitempty
Browse files Browse the repository at this point in the history
  • Loading branch information
Aimerny committed Jun 1, 2024
1 parent 31b4f80 commit a7bb94c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/core/model/card.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ type CardModule struct {
Value string `json:"value,omitempty"`
Src string `json:"src,omitempty"`
StartTime int64 `json:"startTime,omitempty"`
EndTime int64 `json:"endTime"`
EndTime int64 `json:"endTime,omitempty"`
}

type CardText struct {
Type string `json:"type"`
Content string `json:"content"`
Type string `json:"type,omitempty"`
Content string `json:"content,omitempty"`
Cols int `json:"cols,omitempty"`
Fields []CardText `json:"fields,omitempty"`
}
Expand Down

0 comments on commit a7bb94c

Please sign in to comment.