Skip to content
Snippets Groups Projects
Commit e7cbcbd7 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] HTTP stop was broken

parent 35684ca4
Branches
Tags
No related merge requests found
......@@ -147,6 +147,14 @@ function WebAdmin (duniterServer) {
});
this.stopHTTP = () => co(function *() {
yield pluggedDALP;
try {
yield bmapi.closeConnections();
return { success: true };
} catch (e) {
logger.error(e);
return { success: false };
}
});
this.previewNext = () => co(function *() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment