Skip to content

Commit

Permalink
fix sentry options
Browse files Browse the repository at this point in the history
  • Loading branch information
sxwebdev committed Mar 9, 2024
1 parent ea909a3 commit 4a943e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sentry/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ func (c *Config) Validate() error {
)
}

func (c *Config) WithSentryConfig(v sentry.ClientOptions) Option {
func WithSentryConfig(v sentry.ClientOptions) Option {
return func(c *Config) {
c.sentryConfig = v
}
}

func (c *Config) WithAppVersion(appVersion string) Option {
func WithAppVersion(appVersion string) Option {
return func(c *Config) {
c.appVersion = appVersion
}
Expand Down

0 comments on commit 4a943e8

Please sign in to comment.