mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-12 13:46:51 +00:00
fix linter
This commit is contained in:
parent
778254bc61
commit
b4e173289b
1 changed files with 2 additions and 1 deletions
|
|
@ -23,7 +23,8 @@ func JobMonthlyBookingReport() error {
|
|||
|
||||
now := time.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(
|
||||
os.Getenv("HTMLDOCS_PROJECT_ID"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue