aboutsummaryrefslogtreecommitdiffstats
path: root/models/admin/task.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/admin/task.go')
-rw-r--r--models/admin/task.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/admin/task.go b/models/admin/task.go
index 10f8e6d570..0541a8ec78 100644
--- a/models/admin/task.go
+++ b/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