Skip to content

Commit

Permalink
Rename wish.WithMiddlewares -> wish.WithMiddleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Padilla committed Oct 7, 2021
1 parent 5ca4b8d commit 957762d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewServer(host string, port int, serverKeyPath string, repoPath string, aut
ssh.PasswordAuth(cfg.PasswordHandler),
wish.WithAddress(fmt.Sprintf("%s:%d", host, port)),
wish.WithHostKeyPath(serverKeyPath),
wish.WithMiddlewares(
wish.WithMiddleware(
bm.Middleware(tui.SessionHandler(cfg)),
gm.Middleware(repoPath, cfg),
lm.Middleware(),
Expand Down

0 comments on commit 957762d

Please sign in to comment.