diff --git a/web/service/inbound.go b/web/service/inbound.go index 78367aea..35cd0911 100644 --- a/web/service/inbound.go +++ b/web/service/inbound.go @@ -1285,7 +1285,8 @@ func (s *InboundService) GetInboundTags() (string, error) { if err != nil && err != gorm.ErrRecordNotFound { return "", err } - return "[\"" + strings.Join(inboundTags, "\", \"") + "\"]", nil + tags, _ := json.Marshal(inboundTags) + return string(tags), nil } func (s *InboundService) MigrationRequirements() {