improvements to LIVE tracker

This commit is contained in:
ari melody 2025-06-17 02:01:06 +01:00
parent 9274796729
commit 581273370d
Signed by: ari
GPG key ID: CF99829C92678188
7 changed files with 45 additions and 16 deletions

View file

@ -460,9 +460,11 @@ func main() {
// handle DB migrations
controller.CheckDBVersionAndMigrate(app.DB)
err = controller.TwitchSetup(&app)
if err != nil {
fmt.Fprintf(os.Stderr, "WARN: Failed to set up Twitch integration: %v\n", err)
if app.Config.Twitch != nil {
err = controller.TwitchSetup(&app)
if err != nil {
fmt.Fprintf(os.Stderr, "WARN: Failed to set up Twitch integration: %v\n", err)
}
}
// initial invite code