Merge pull request #5460 from barttran2k/contribai/fix/security/undefined-variable-next-referenced-in-ro

Security: Undefined Variable `next` Referenced in Route Error Handler
This commit is contained in:
jc21
2026-05-14 11:11:12 +10:00
committed by GitHub
+1 -1
View File
@@ -18,7 +18,7 @@ router
/**
* GET /schema
*/
.get(async (req, res) => {
.get(async (req, res, next) => {
try {
const swaggerJSON = await getCompiledSchema();