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

[fix] broken APIs with Duniter 1.7.21 (or less)

parent 2863a3b1
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ process.on('uncaughtException', (err) => { ...@@ -15,7 +15,7 @@ process.on('uncaughtException', (err) => {
} }
}) })
const stack = require('duniter').statics.autoStack([{ const stack = require('duniter').Statics.autoStack([{
name: 'duniter-ui', name: 'duniter-ui',
required: require('./index') required: require('./index')
}]); }]);
......
...@@ -487,7 +487,7 @@ function WebAdmin (duniterServer, startServices, stopServices, listDuniterUIPlug ...@@ -487,7 +487,7 @@ function WebAdmin (duniterServer, startServices, stopServices, listDuniterUIPlug
yield server.BlockchainService.pushFIFO('uiResetData', () => co(function *() { yield server.BlockchainService.pushFIFO('uiResetData', () => co(function *() {
yield that.stopAllServices(); yield that.stopAllServices();
yield server.unplugFileSystem(); yield server.unplugFileSystem();
yield server.cleanDBData(); yield server.resetData();
yield pluggedDALP; yield pluggedDALP;
pluggedConfP = plugForConf(); pluggedConfP = plugForConf();
pluggedDALP = replugDAL(); pluggedDALP = replugDAL();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment