fix: fix 2
This commit is contained in:
@@ -8,7 +8,7 @@ export class DnsRecordRepository extends EntityRepository<DnsRecord> {
|
|||||||
* Find DNS records by domain ID
|
* Find DNS records by domain ID
|
||||||
*/
|
*/
|
||||||
async findByDomainId(domainId: string): Promise<DnsRecord[]> {
|
async findByDomainId(domainId: string): Promise<DnsRecord[]> {
|
||||||
return this.find({ domain: domainId, deletedAt: null });
|
return this.find({ domain: domainId, deletedAt: null }, { orderBy: { name: "DESC" } });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user