mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-05-28 21:12:37 +02:00
Small fixes
This commit is contained in:
parent
9bc6a5ab84
commit
a34dfb5d01
@ -189,7 +189,7 @@ module.exports.typeDefs = `
|
||||
}
|
||||
|
||||
type MinerStatsCkpoolPool {
|
||||
runtime: Int
|
||||
runtime: Float
|
||||
lastupdate: Int
|
||||
Users: Int
|
||||
Workers: Int
|
||||
|
@ -264,7 +264,8 @@ module.exports.auth = {
|
||||
|
||||
await fsPromises.writeFile(configBitcoinFilePath, conf);
|
||||
|
||||
exec('sudo systemctl restart node');
|
||||
exec('sudo systemctl stop node');
|
||||
exec('sudo systemctl start node');
|
||||
} catch (err) {
|
||||
console.log('ERR manageBitcoinConf', err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user