Browse Source
Add defensive null checks before calling .map() on data.results in both the API route and provider implementation. Returns empty array with success:true when results is undefined, preventing "Cannot read properties of undefined (reading 'map')" crash. Fixes: UAT-001 from 02-01-ISSUES.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>handoff-20260429-1057
2 changed files with 26 additions and 0 deletions
Loading…
Reference in new issue