fixes trail filter bug

This commit is contained in:
Christian Beutel
2025-02-04 22:51:37 +01:00
parent 4d1d07922a
commit d01ca30932
5 changed files with 389 additions and 5 deletions

View File

@@ -407,7 +407,7 @@ func registerRoutes(e *core.ServeEvent, app *pocketbase.PocketBase, client meili
func registerCronJobs(app *pocketbase.PocketBase) {
scheduler := cron.New()
scheduler.MustAdd("integrations", "0 * * * *", func() {
scheduler.MustAdd("integrations", "*/5 * * * *", func() {
err := strava.SyncStrava(app)
if err != nil {
warning := fmt.Sprintf("Error syncing with strava: %v", err)