chore: eslint

This commit is contained in:
xiaojunnuo
2026-05-31 02:11:00 +08:00
parent 5d60e6191f
commit 3d960c3869
4 changed files with 8 additions and 4 deletions
@@ -271,7 +271,8 @@ export class PipelineController extends CrudController<PipelineService> {
}
private async checkPermissionCall(callback: any) {
let { projectId, userId } = await this.getProjectUserIdWrite();
const { projectId, userId: uid } = await this.getProjectUserIdWrite();
let userId = uid;
if (projectId) {
return await callback({ userId, projectId });
}
@@ -126,7 +126,7 @@ export class VolcengineClient {
return service;
}
async getDCDNService(opts?: {}) {
async getDCDNService(opts?: Record<string, never>) {
const CommonService = await this.getServiceCls();
const service = new CommonService({
@@ -55,7 +55,7 @@ export class WangsuAccess extends BaseAccess {
return "ok";
}
async getCertList(req: {}) {
async getCertList(req: Record<string, never>) {
/**
* certificate-id
* name