I LOVE ASYNC, I LOVE ASYNC, I LOVE ASYNC, I LOVE ASYNC, I LOVE ASYNC,
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ router.get('/dns/edit/:domainId', authMw.AllowIfAuthenticated, async (req, res,
|
||||
return next();
|
||||
|
||||
const fullDomain = result.domain + "." + result.tld;
|
||||
let records = GetAllRecords(fullDomain);
|
||||
let records = await GetAllRecords(fullDomain);
|
||||
|
||||
res.render('dns', {title: pageTitle, domain: result, dnsRecords: records});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user