mirror of
https://github.com/certd/certd.git
synced 2026-07-13 17:07:32 +08:00
chore: project query
This commit is contained in:
@@ -140,7 +140,7 @@ export class AddonController extends CrudController<AddonService> {
|
||||
const simple = await this.service.getSimpleInfo(res.id);
|
||||
return this.ok(simple);
|
||||
}
|
||||
await this.authService.checkEntityUserId(this.ctx, this.service, id);
|
||||
await this.authService.checkUserIdButAllowAdmin(this.ctx, this.service, id);
|
||||
const res = await this.service.getSimpleInfo(id);
|
||||
return this.ok(res);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user