Commit 5dc94535 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 2f430723
......@@ -227,7 +227,13 @@ async function initToken() {
var contents = await fs.readFileSync('./token.txt', 'utf8');
het = new Hetzner(contents)
id= await fs.readFileSync('./id.txt', 'utf8');
masterId = await het.getMasterServerId()
try {
masterId = await het.getMasterServerId()
}
catch (e) {
masterId=0
}
// remover()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment