From 103e473f200b76db20ef8d9af3c98db2bfb2aa29 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 31 Jul 2023 18:07:41 +0200 Subject: make time bonus config value usable through yaml --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.go') diff --git a/config.go b/config.go index b2df159..5683f29 100644 --- a/config.go +++ b/config.go @@ -22,8 +22,8 @@ type Config struct { AdminPW string `yaml:"admin-password"` Admins []uuid.UUID `yaml:"admins"` Spotify *SpotifyConfig `yaml:"spotify"` + TimeBonus float64 `yaml:"time-bonus"` HasUpload bool - timeBonus float64 `yaml:time-bonus` } func defaultConfig() Config { -- cgit v1.2.3