diff --git a/core/service.go b/core/service.go index a1e2ae4..2a1c017 100644 --- a/core/service.go +++ b/core/service.go @@ -169,7 +169,7 @@ type Maintenance struct { type DivisionForUser struct { Priority int `bson:"priority" json:"priority"` State DivisionStateName `bson:"state" json:"state"` - Maintenance *Maintenance `bson:",omitempty" json:",omitempty"` + Maintenance *Maintenance `bson:"maintenance,omitempty" json:"maintenance,omitempty"` } type Division struct {