Fix debugs

This commit is contained in:
Girish Ramakrishnan
2024-11-30 10:18:48 +01:00
parent 1497518867
commit 26caacc12e
2 changed files with 3 additions and 4 deletions

View File

@@ -64,11 +64,10 @@ async function getZoneRecords(domainConfig, zone, name, type) {
let page = 1, matchingRecords = [];
debug(`getInternal: getting dns records of ${zone.name} with ${name} and type ${type}`);
debug(`getZoneRecords: getting dns records of ${zone.name} with ${name} and type ${type}`);
const perPage = 50;
// eslint-disable-next-line no-constant-condition
while (true) {
const [error, response] = await safe(superagent.get(`${ENDPOINT}/records`)
.set('Auth-API-Token', domainConfig.token)