Started linting source files

This commit is contained in:
2022-08-19 13:47:08 +02:00
parent 64dbec1f14
commit b1d959389d
55 changed files with 726 additions and 526 deletions

View File

@@ -5,12 +5,8 @@ const gitRepository = new GitRepository();
function dumpHookController(req, res) {
gitRepository
.dumpHook(req.body)
.then(() => {
res.status(200);
})
.catch(error => {
res.status(500);
});
.then(() => res.status(200))
.catch(() => res.status(500));
}
module.exports = dumpHookController;