mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
DEV: Fix "no-unsafe-finally" lint (#24587)
This commit is contained in:
@ -249,7 +249,7 @@ to serve API requests. For example:
|
||||
`);
|
||||
} finally {
|
||||
if (!res.headersSent) {
|
||||
return next();
|
||||
next();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user