Skip to content

Commit

Permalink
fix: add block_id schema validation to getBlobSidecars (#6377)
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Jan 30, 2024
1 parent 5064fab commit b5344bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api/src/beacon/routes/beacon/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ export function getReqSerializers(config: ChainForkConfig): ReqSerializers<Api,
}),
parseReq: ({params, query}) => [params.block_id, query.indices],
schema: {
params: {block_id: Schema.StringRequired},
query: {indices: Schema.UintArray},
},
},
Expand Down

0 comments on commit b5344bf

Please sign in to comment.