fix bug
This commit is contained in:
parent
a174601434
commit
ce500d71bb
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
config.json
|
config.json
|
||||||
node_modules
|
node_modules
|
||||||
|
package-lock.json
|
||||||
|
2
app.js
2
app.js
@ -59,7 +59,7 @@ const runUpdateDNS = async() => {
|
|||||||
for (let j in config.domain) {
|
for (let j in config.domain) {
|
||||||
if (config.domain[j].name == tmp.name) {
|
if (config.domain[j].name == tmp.name) {
|
||||||
config.domain[j].id = tmp.id;
|
config.domain[j].id = tmp.id;
|
||||||
console.log(`${Date.now()} - get domain ${config.domain[i].name} id: ${tmp.id}`);
|
console.log(`${Date.now()} - get domain ${config.domain[j].name} id: ${tmp.id}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user