mirror of
https://github.com/certd/certd.git
synced 2026-07-30 01:07:38 +08:00
chore: 优化代码格式
This commit is contained in:
@@ -98,17 +98,17 @@ export class LegacyAcmeAccountAccessFix {
|
||||
continue;
|
||||
}
|
||||
const name = buildAcmeAccountAccessName(parsedKey.caType, parsedKey.email);
|
||||
const query = {
|
||||
userId: record.userId,
|
||||
type: "acmeAccount",
|
||||
subtype: parsedKey.caType,
|
||||
name,
|
||||
} as any
|
||||
const query = {
|
||||
userId: record.userId,
|
||||
type: "acmeAccount",
|
||||
subtype: parsedKey.caType,
|
||||
name,
|
||||
} as any;
|
||||
if (record.projectId) {
|
||||
query.projectId = record.projectId;
|
||||
}
|
||||
const exists = await this.accessService.findOne({
|
||||
where:query,
|
||||
where: query,
|
||||
});
|
||||
if (exists) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user