chore: updating version to 1.0.dev14
This commit is contained in:
parent
a443f9e05b
commit
90f6921082
|
|
@ -78,19 +78,19 @@ func StartDataFetchingCrons(eventService eventsvc.Service, oddsService oddssvc.S
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// spec: "0 0 0 * * *", // Every Day
|
spec: "0 0 0 * * *", // Every Day
|
||||||
// task: func() {
|
task: func() {
|
||||||
// mongoLogger.Info("Began Send daily result notification cron task")
|
mongoLogger.Info("Began Send daily result notification cron task")
|
||||||
// if err := resultService.CheckAndSendResultNotifications(context.Background(), time.Now().Add(-24*time.Hour)); err != nil {
|
if err := resultService.CheckAndSendResultNotifications(context.Background(), time.Now().Add(-24*time.Hour)); err != nil {
|
||||||
// mongoLogger.Error("Failed to process result",
|
mongoLogger.Error("Failed to process result",
|
||||||
// zap.Error(err),
|
zap.Error(err),
|
||||||
// )
|
)
|
||||||
// } else {
|
} else {
|
||||||
// mongoLogger.Info("Completed sending daily result notification without errors")
|
mongoLogger.Info("Completed sending daily result notification without errors")
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, job := range schedule {
|
for _, job := range schedule {
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ func (a *App) initAppRoutes() {
|
||||||
a.fiber.Get("/", func(c *fiber.Ctx) error {
|
a.fiber.Get("/", func(c *fiber.Ctx) error {
|
||||||
return c.JSON(fiber.Map{
|
return c.JSON(fiber.Map{
|
||||||
"message": "Welcome to the FortuneBet API",
|
"message": "Welcome to the FortuneBet API",
|
||||||
"version": "1.0.dev13.1",
|
"version": "1.0.dev14",
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user