Skip to content

Commit

Permalink
remove umami src
Browse files Browse the repository at this point in the history
  • Loading branch information
vintikzzz committed Nov 14, 2024
1 parent 10aac8e commit cf356ca
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions services/umami/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ func RegisterFlags(f []cli.Flag) []cli.Flag {
Usage: "use umami",
EnvVar: "USE_UMAMI",
},
cli.StringFlag{
Name: SrcFlag,
Usage: "umami src",
EnvVar: "UMAMI_SRC",
},
cli.StringFlag{
Name: WebsiteIDFlag,
Usage: "umami website-id",
Expand All @@ -38,15 +33,13 @@ func RegisterFlags(f []cli.Flag) []cli.Flag {

type Helper struct {
use bool
Src string `json:"src,omitempty"`
WebsiteID string `json:"website_id,omitempty"`
HostURL string `json:"host_url,omitempty"`
}

func NewHelper(cli *cli.Context) *Helper {
return &Helper{
use: cli.Bool(UseFlag),
Src: cli.String(SrcFlag),
WebsiteID: cli.String(WebsiteIDFlag),
HostURL: cli.String(HostUrlFlag),
}
Expand Down

0 comments on commit cf356ca

Please sign in to comment.