fix: fix 2

This commit is contained in:
mahyargdz
2025-07-10 11:09:53 +03:30
parent 560e86b9b4
commit af0e3c1f78
@@ -8,7 +8,7 @@ export class DnsRecordRepository extends EntityRepository<DnsRecord> {
* Find DNS records by domain ID
*/
async findByDomainId(domainId: string): Promise<DnsRecord[]> {
return this.find({ domain: domainId, deletedAt: null });
return this.find({ domain: domainId, deletedAt: null }, { orderBy: { name: "DESC" } });
}
/**