mirror of
https://github.com/certd/certd.git
synced 2026-04-23 11:37:23 +08:00
perf: 站点监控,手动测试也发通知
This commit is contained in:
@@ -84,7 +84,7 @@ export class SiteInfoController extends CrudController<SiteInfoService> {
|
||||
@Post('/check', { summary: Constants.per.authOnly })
|
||||
async check(@Body('id') id: number) {
|
||||
await this.service.checkUserId(id, this.getUserId());
|
||||
await this.service.check(id, false, 0);
|
||||
await this.service.check(id, true, 0);
|
||||
return this.ok();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user