Rename wish.WithMiddlewares -> wish.WithMiddleware

Toby Padilla created

Change summary

server.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

server.go 🔗

@@ -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(),