use combined flags for notifications

This commit is contained in:
nils måsén 2022-09-07 15:05:48 +02:00
parent f817098cd5
commit 7579740d38
4 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ type gotifyTypeNotifier struct {
}
func newGotifyNotifier(c *cobra.Command, levels []log.Level) t.ConvertibleNotifier {
flags := c.PersistentFlags()
flags := c.Flags()
apiURL := getGotifyURL(flags)
token := getGotifyToken(flags)