Fix omitempty bug (#33663)

Fix #33660
This commit is contained in:
Lunny Xiao
2025-02-20 12:39:21 -08:00
committed by GitHub
parent 3ee5ee2029
commit a25081f380

View File

@ -44,7 +44,7 @@ func init() {
// TranslatableMessage represents JSON struct that can be translated with a Locale
type TranslatableMessage struct {
Format string
Args []any `json:"omitempty"`
Args []any `json:",omitempty"`
}
// LoadRepo loads repository of the task