mirror of
https://github.com/certd/certd.git
synced 2026-04-20 17:57:41 +08:00
perf: 通知标题优化
This commit is contained in:
@@ -12,10 +12,7 @@ export class EmailController extends BaseController {
|
||||
emailService: EmailService;
|
||||
|
||||
@Post('/test', { summary: Constants.per.authOnly })
|
||||
public async test(
|
||||
@Body('receiver')
|
||||
receiver
|
||||
) {
|
||||
public async test(@Body('receiver') receiver) {
|
||||
const userId = super.getUserId();
|
||||
await this.emailService.test(userId, receiver);
|
||||
return this.ok({});
|
||||
|
||||
Reference in New Issue
Block a user