All handlers in someday-lists/route.ts and calendar/events/route.ts were using (session.user as any).id which can be stale after DB restore/migration. Fixed to look up by session.user.email instead — matching the pattern already established in tasks/route.ts and calendar/sync/route.ts. This was causing other users to see empty someday lists while their tasks (fetched via the already-fixed tasks route) still had somedayListId references, triggering false RESCUE recoveries on every load. Also fixed outlook/callback/route.ts fallback which could still use stale ID. v1.81.19 |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| types | ||
| middleware.ts | ||