mirror of
https://github.com/glanceapp/glance.git
synced 2025-08-15 10:49:03 +02:00
Update change detection
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user