Correctly set nats connection in server

This commit is contained in:
2025-02-11 22:47:41 +01:00
parent d9e2147eca
commit 53915cec63

View File

@@ -40,6 +40,7 @@ type AlertMessage struct {
func NewServer(ns *NotificationService, logger *slog.Logger) *Server {
srv := &Server{
logger: logger,
ns: ns,
}
mux := http.NewServeMux()