Skip to content

Fix API empty responses and report CSP violations - #663

Merged
DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
gelluisaac:main
Oct 22, 2026
Merged

DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
gelluisaac:main

Conversation

@gelluisaac

Copy link
Copy Markdown

Return null for successful empty API responses and make data-dependent callers raise a clear ApiError.
Wrap malformed JSON responses in ApiError and notify error interceptors; add regression tests.
Add a bounded CSP report endpoint and configure the policy in report-only mode.
The separate abort refs requested in #548 were already present.
Closes #550
Closes #549
Closes #548
Closes #547

@netlify

netlify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for chainlearn failed.

Name Link
🔨 Latest commit f4a83d0
🔍 Latest deploy log https://app.netlify.com/projects/chainlearn/deploys/6ad937222964ababbe0ec27a

@DeFiVC
DeFiVC merged commit 59f98c5 into ChainLearnOfficial:main Oct 22, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants