Skip to content

Commit

Permalink
Don't return, just branch
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Feb 12, 2018
1 parent 6bc8a18 commit 2dedbfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/server/management/injectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export function saveInjectorSettings(server: KrasServer) {

if (injector) {
injector.setOptions(options);
return res.sendStatus(200);
res.sendStatus(200);
} else {
res.sendStatus(404);
}

res.sendStatus(404);
};
}

0 comments on commit 2dedbfc

Please sign in to comment.