Update change detection

This commit is contained in:
Svilen Markov
2024-05-30 22:53:59 +01:00
parent 6cad5a8efb
commit 00a93e466d
8 changed files with 140 additions and 84 deletions

View File

@ -43,12 +43,12 @@ func New(widgetType string) (Widget, error) {
return &TwitchGames{}, nil
case "twitch-channels":
return &TwitchChannels{}, nil
case "changes":
return &ChangeDetections{}, nil
case "change-detection":
return &ChangeDetection{}, nil
case "repository":
return &Repository{}, nil
default:
return nil, fmt.Errorf("unknown widget type: %s found", widgetType)
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
}
}