Commit f7f1ee77 authored by Marin Leicknam's avatar Marin Leicknam

tell json encoder polling_interval_multiplier is encoded as string type

parent 6d668681
...@@ -92,7 +92,7 @@ type Settings struct { ...@@ -92,7 +92,7 @@ type Settings struct {
PerformanceBarEnabled bool `json:"performance_bar_enabled"` PerformanceBarEnabled bool `json:"performance_bar_enabled"`
PlantumlEnabled bool `json:"plantuml_enabled"` PlantumlEnabled bool `json:"plantuml_enabled"`
PlantumlURL string `json:"plantuml_url"` PlantumlURL string `json:"plantuml_url"`
PollingIntervalMultiplier float64 `json:"polling_interval_multiplier"` PollingIntervalMultiplier float64 `json:"polling_interval_multiplier,string"`
ProjectExportEnabled bool `json:"project_export_enabled"` ProjectExportEnabled bool `json:"project_export_enabled"`
PrometheusMetricsEnabled bool `json:"prometheus_metrics_enabled"` PrometheusMetricsEnabled bool `json:"prometheus_metrics_enabled"`
RecaptchaEnabled bool `json:"recaptcha_enabled"` RecaptchaEnabled bool `json:"recaptcha_enabled"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment