Skip to content

refactor: update geolocation handling and improve RecommendationsCliet logic#15

Merged
CodeHunt101 merged 1 commit into
mainfrom
fix/geolocation
Apr 3, 2026
Merged

refactor: update geolocation handling and improve RecommendationsCliet logic#15
CodeHunt101 merged 1 commit into
mainfrom
fix/geolocation

Conversation

@CodeHunt101
Copy link
Copy Markdown
Owner

  • Changed getUserCountry to return null instead of a fallback country on API failures.
  • Updated RecommendationsClient to handle undefined user country more effectively.
  • Enhanced integration tests to verify behavior when geolocation fails and ensure no fallback to AU providers.
  • Adjusted related tests to reflect new null return values and improved error handling.

…nt logic

- Changed getUserCountry to return null instead of a fallback country on API failures.
- Updated RecommendationsClient to handle undefined user country more effectively.
- Enhanced integration tests to verify behavior when geolocation fails and ensure no fallback to AU providers.
- Adjusted related tests to reflect new null return values and improved error handling.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
plotline-ai Ready Ready Preview, Comment Apr 3, 2026 1:53pm

@CodeHunt101 CodeHunt101 enabled auto-merge April 3, 2026 13:53
@CodeHunt101 CodeHunt101 merged commit a18cb26 into main Apr 3, 2026
5 checks passed
@CodeHunt101 CodeHunt101 deleted the fix/geolocation branch April 3, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant