Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmos-Harry committed Jul 4, 2023
1 parent 2565525 commit 35000ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func (s *Server) Use(m Middleware, handler func(*Message)) {
// Check if a new m was appended
if len(newMiddlewares) > len(oldMiddlewares) {
// Trigger the desired action
fmt.Println("Update success")
s.HandleMessageAuto(handler)

}
Expand Down

0 comments on commit 35000ce

Please sign in to comment.