Commit 0ca1e62
fix(explore): Guard against missing attributes in validation response
Add nullish coalescing fallback when accessing the attributes field
from the validation API response. The prior optional chaining on
data[0]?.attributes could pass undefined to Object.entries() if
the response body lacked an attributes field, causing a TypeError.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c5cec3e commit 0ca1e62
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments