features/rss-job #6

Merged
jtom38 merged 13 commits from features/rss-job into main 2024-05-02 17:41:12 -07:00
Showing only changes of commit c44d7f20bc - Show all commits

View File

@ -11,7 +11,7 @@ import (
"git.jamestombleson.com/jtom38/newsbot-api/docs"
"git.jamestombleson.com/jtom38/newsbot-api/internal/database"
"git.jamestombleson.com/jtom38/newsbot-api/internal/handler/v1"
v1 "git.jamestombleson.com/jtom38/newsbot-api/internal/handler/v1"
"git.jamestombleson.com/jtom38/newsbot-api/internal/services"
"git.jamestombleson.com/jtom38/newsbot-api/internal/services/cron"
)
@ -44,7 +44,7 @@ func main() {
queries := database.New(db)
c := cron.NewScheduler(ctx)
c := cron.NewScheduler(ctx, db)
c.Start()
server := v1.NewServer(ctx, queries, configs, db)