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 authored and GitHub committed 2026-05-14 11:11:12 +10:00
commit 9875a7650d
1 file changed
+1 -1
+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();