fix: close admin channel test sms loop
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
CreateReportMaterialDto,
|
||||
CreateReportTaskDto,
|
||||
CreateRouteRuleDto,
|
||||
TestChannelDto,
|
||||
UpsertConnectionStateDto,
|
||||
UpdateChannelDto,
|
||||
UpdateChannelGroupDto,
|
||||
@@ -39,8 +40,8 @@ export class ChannelsController {
|
||||
}
|
||||
|
||||
@Post('channels/:id/test')
|
||||
testChannel(@Param('id') channelId: string) {
|
||||
return this.channels.testChannel(channelId);
|
||||
testChannel(@Param('id') channelId: string, @Body() body: TestChannelDto) {
|
||||
return this.channels.testChannel(channelId, body);
|
||||
}
|
||||
|
||||
@Post('channels/:id/status')
|
||||
|
||||
Reference in New Issue
Block a user