I LOVE ASYNC, I LOVE ASYNC, I LOVE ASYNC, I LOVE ASYNC, I LOVE ASYNC,

This commit is contained in:
2026-05-14 15:01:43 -04:00
parent 1b018cd297
commit f6d2dfa557
+1 -1
View File
@@ -25,7 +25,7 @@ router.get('/dns/edit/:domainId', authMw.AllowIfAuthenticated, async (req, res,
return next(); return next();
const fullDomain = result.domain + "." + result.tld; const fullDomain = result.domain + "." + result.tld;
let records = GetAllRecords(fullDomain); let records = await GetAllRecords(fullDomain);
res.render('dns', {title: pageTitle, domain: result, dnsRecords: records}); res.render('dns', {title: pageTitle, domain: result, dnsRecords: records});
}); });