fix: user location fix

This commit is contained in:
Krispire Admin
2026-06-18 22:57:12 +05:30
parent 5c0581a1da
commit dc204577a8
3 changed files with 443 additions and 3 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ func (s *Server) initAuth(cfg *config.Config, logger *zap.Logger) {
// websocket) to chant / post a quote at their local time. Shares the
// notification seam above so all three channels fire.
reminderRepo := repository.NewReminderRepo(s.pg)
reminderSvc := service.NewReminderService(reminderRepo, notifPrefsRepo, notifSvc, logger, cfg.FrontendURL)
reminderSvc := service.NewReminderService(reminderRepo, notifPrefsRepo, userRepo, notifSvc, logger, cfg.FrontendURL)
s.reminderH = handler.NewReminderHandler(reminderSvc)
wctx := s.workerCtx
if wctx == nil {