mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-05-18 22:59:04 +01:00
986c4cae6c
The GET /schema route handler's function signature is `(req, res)` (only two parameters), but the catch block calls `next(err)`. Since `next` is not defined in this scope, this will throw a `ReferenceError` at runtime when an error occurs, potentially crashing the process or causing an unhandled rejection instead of properly returning an error response. Affected files: schema.js Signed-off-by: Trần Bách <45133811+barttran2k@users.noreply.github.com>