🐛 Fix notifier

This commit is contained in:
2024-04-27 00:13:47 +08:00
parent 017b67d738
commit 82a6c6dd31
4 changed files with 18 additions and 7 deletions

View File

@ -41,11 +41,9 @@ func main() {
}
// Connect other services
go func() {
if err := grpc.ConnectPassport(); err != nil {
log.Fatal().Err(err).Msg("An error occurred when connecting to passport grpc endpoint...")
}
}()
if err := grpc.ConnectPassport(); err != nil {
log.Fatal().Err(err).Msg("An error occurred when connecting to passport grpc endpoint...")
}
// Configure timed tasks
quartz := cron.New(cron.WithLogger(cron.VerbosePrintfLogger(&log.Logger)))