bugfix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-24 10:15:04 +11:00
parent 789805b587
commit 6c432f7cb1
3 changed files with 10 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ type Server struct {
}
// New creates a new server with the given logger, address and options.
func New(logger *slog.Logger, cron gocron.Scheduler, addr string, opts ...Option) *Server {
func New(logger *slog.Logger, cron gocron.Scheduler, cancel context.CancelFunc, addr string, opts ...Option) *Server {
// Set some options for TLS
tlsConfig := &tls.Config{