-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: missing basic validation in route params #213
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Test Files 4 failed | 17 passed (21) https://github.com/ckb-cell/btc-assets-api/actions/runs/10525967538/job/29165809518#step:7:805 |
ab63c15
to
987a3e0
Compare
@Flouse @Dawn-githup Fixed PR-related issues today:
|
fixed: |
get balance
error message:
Description:When attempting to call the get balance API, a socket hang up error occurred.
Please help to check. |
https://213.assets-api-342ddd42.nip.io/healthcheck{
"healthChecks": {
"electrs": {
"status": "FAIL",
"reason": "Error: socket hang up"
}
},...
} @mfuuzy is maintaining the BTC testnet bitcoind and electrs services on that server. |
|
|
Changes
validatorCompiler
to promp only the first error iferror instanceof ZodError
Related issues
Examples
Route:
/rgbpp/v1/assets//
Route
/rgbpp/v1/assets/63e7de3c59b7f28cfc1eb840c8d617b2f557770d2576355cfc0263e1925ac116/
Route:
/rgbpp/v1/assets/63e7de3c59b7f28cfc1eb840c8d617b2f557770d2576355cfc0263e1925ac116/-1