refactor: reduce CalDAV sync to login and manual sync button only
- Remove auto-login sync in AuthGuard - Remove 10s interval sync and syncAndReload in calendar tab - Remove lazy syncOnce pattern in ChatService AI callbacks - Remove CaldavService dependency from ChatService constructor
This commit is contained in:
@@ -63,12 +63,7 @@ const aiProvider = new GPTAdapter();
|
||||
const authService = new AuthService(userRepo);
|
||||
const eventService = new EventService(eventRepo);
|
||||
const caldavService = new CaldavService(caldavRepo, eventService);
|
||||
const chatService = new ChatService(
|
||||
chatRepo,
|
||||
eventService,
|
||||
aiProvider,
|
||||
caldavService,
|
||||
);
|
||||
const chatService = new ChatService(chatRepo, eventService, aiProvider);
|
||||
|
||||
// Initialize controllers
|
||||
const authController = new AuthController(authService);
|
||||
|
||||
Reference in New Issue
Block a user