Fix omitempty bug (#33663) (#33670)

Backport #33663 by @lunny

Fix #33660

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
pull/33673/head^2
Giteabot 4 days ago committed by GitHub
parent 9da6d4ea85
commit 37e99d9b34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      models/admin/task.go

@ -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

Loading…
Cancel
Save