Skip to content

Commit a25081f

Browse files
authored
Fix omitempty bug (#33663)
Fix #33660
1 parent 3ee5ee2 commit a25081f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/admin/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func init() {
4444
// TranslatableMessage represents JSON struct that can be translated with a Locale
4545
type TranslatableMessage struct {
4646
Format string
47-
Args []any `json:"omitempty"`
47+
Args []any `json:",omitempty"`
4848
}
4949

5050
// LoadRepo loads repository of the task

0 commit comments

Comments
 (0)