Skip to content

Commit

Permalink
Fixed linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Apr 15, 2022
1 parent 7a5f2cb commit f87b70f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions actions/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ func (a *Action) RequireAdminAuthentication(fn httprouter.Handle) httprouter.Han
func (a *Action) Request(router *apirouter.Router, h httprouter.Handle) httprouter.Handle {
if a.AppConfig.RequestLogging {
return router.Request(h)
} else {
return router.RequestNoLogging(h)
}
return router.RequestNoLogging(h)
}

// CheckAuthentication will check the authentication
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const (
EnvironmentStaging = "staging"
EnvironmentTest = "test"
HealthRequestPath = "health"
Version = "v0.1.3"
Version = "v0.1.4"
)

// Local variables for configuration
Expand Down

0 comments on commit f87b70f

Please sign in to comment.