mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
fix: 修复cname记录查找bug
This commit is contained in:
@@ -58,7 +58,7 @@ export class CnameRecordService extends BaseService<CnameRecordEntity> {
|
||||
if (param.domain.startsWith('*.')) {
|
||||
param.domain = param.domain.substring(2);
|
||||
}
|
||||
const info = await this.getRepository().findOne({ where: { domain: param.domain } });
|
||||
const info = await this.getRepository().findOne({ where: { domain: param.domain,userId: param.userId } });
|
||||
if (info) {
|
||||
return info;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user