Skip to content

Commit

Permalink
fix: get request header secret
Browse files Browse the repository at this point in the history
  • Loading branch information
adeherysh committed Apr 25, 2024
1 parent fa9c188 commit bb02432
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ app.all('*', (req: Request, res: Response) => {
.replaceAll('instance.', '')
.replaceAll('"', '')
res.status(400)
res.send({
// nosemgrep
res.send({ // nosemgrep
code: 400,
message: msg && msg[0].toUpperCase() + msg.slice(1),
type: 'SchemaValidationException',
Expand Down

0 comments on commit bb02432

Please sign in to comment.