mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-04 08:14:43 +01:00
Fix omitempty bug (#33663)
Fix #33660 (cherry picked from commit a25081f3801551457fe8ac10eb2817ceca21fbae)
This commit is contained in:
parent
12488d3f2d
commit
fae5681858
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue