Skip to content

Commit 9875a76

Browse files
authored
Merge pull request #5460 from barttran2k/contribai/fix/security/undefined-variable-next-referenced-in-ro
Security: Undefined Variable `next` Referenced in Route Error Handler
2 parents 6694df6 + 986c4ca commit 9875a76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/routes/schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ router
1818
/**
1919
* GET /schema
2020
*/
21-
.get(async (req, res) => {
21+
.get(async (req, res, next) => {
2222
try {
2323
const swaggerJSON = await getCompiledSchema();
2424

0 commit comments

Comments
 (0)