@ -58,8 +58,10 @@ module.exports = class DomainRecords extends Now {
const domainList = await Promise.all(bodies);
for (const body of domainList) {
const index = domainList.indexOf(body);
records.set(
body,
domains[index],
body.records.sort((a, b) => a.slug.localeCompare(b.slug))
);
}