Enable no-unsafe-finally lint

This commit is contained in:
valadaptive
2023-12-02 09:12:38 -05:00
parent e7ae1c4787
commit 367f3dba27
5 changed files with 5 additions and 14 deletions

View File

@ -118,9 +118,7 @@ function registerEndpoints(app, jsonParser) {
catch (err) {
console.log(err);
}
finally {
return response.send(output);
}
return response.send(output);
});
/**

View File

@ -133,9 +133,7 @@ function registerEndpoints(app, jsonParser, urlencodedParser) {
catch (err) {
console.log(err);
}
finally {
return response.send(sprites);
}
return response.send(sprites);
});
app.post('/api/sprites/delete', jsonParser, async (request, response) => {