Files
apartment-dashboard-api/models
Stephen Minakian 0f2de751af Fix timezone mismatch and OAuth profile field access
- Add getLatestDateWithData() helper that queries the most recent date
  with price data instead of using server UTC time
- Cache latest date for 5 minutes to reduce database queries
- Update all date-dependent endpoints to use database-relative dates
- Fix OAuth callback profile field access (use profile.email instead
  of profile.emails[0].value)
- Remove loginCount from $setOnInsert to avoid MongoDB conflict error
2026-01-21 18:55:17 -07:00
..