fix linter

This commit is contained in:
Ruidy 2024-08-25 13:24:47 +02:00
parent 778254bc61
commit b4e173289b
No known key found for this signature in database
GPG key ID: E00F51288CB857CC

View file

@ -23,7 +23,8 @@ func JobMonthlyBookingReport() error {
now := time.Now() now := time.Now()
log.Println("Start Monthly Booking Report job at:", now) log.Println("Start Monthly Booking Report job at:", now)
report := booking.NewService(db).BuildReport("monthly", int(now.Month()), now.Year()) service, _ := booking.NewService(db)
report := service.BuildReport("monthly", int(now.Month()), now.Year())
ps, err := pdf.NewPdfService( ps, err := pdf.NewPdfService(
os.Getenv("HTMLDOCS_PROJECT_ID"), os.Getenv("HTMLDOCS_PROJECT_ID"),