Skip to content

Commit

Permalink
Update server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
emberfarkas committed Nov 28, 2023
1 parent 08fdc28 commit d779093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type (
// WithMiddleware with sys client
func WithMiddleware(m ...middleware.Middleware) Option {
return func(o *options) {
o.middlewareChain = append(o.middlewareChain, m...)
o.middlewareChain = m
}
}

Expand Down

0 comments on commit d779093

Please sign in to comment.