mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 21:33:06 +01:00
feat(traefik): DisplayName defaults as the middleware name
This commit is contained in:
@@ -14,7 +14,7 @@ type SablierMiddleware struct {
|
||||
|
||||
// New function creates the configuration
|
||||
func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) {
|
||||
req, err := config.BuildRequest()
|
||||
req, err := config.BuildRequest(name)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user