fix: decouple channel test sms records
This commit is contained in:
@@ -13,8 +13,15 @@ export class AdminSendChainController {
|
||||
}
|
||||
|
||||
@Get('messages')
|
||||
listMessages(@Query('taskId') taskId?: string, @Query('phoneNumber') phoneNumber?: string) {
|
||||
return this.sendChain.listMessages(taskId, phoneNumber);
|
||||
listMessages(
|
||||
@Query('tenantId') tenantId?: string,
|
||||
@Query('applicationId') applicationId?: string,
|
||||
@Query('channelId') channelId?: string,
|
||||
@Query('taskId') taskId?: string,
|
||||
@Query('phoneNumber') phoneNumber?: string,
|
||||
@Query('status') status?: string,
|
||||
) {
|
||||
return this.sendChain.listMessages({ tenantId, applicationId, channelId, taskId, phoneNumber, status });
|
||||
}
|
||||
|
||||
@Get('submit-records')
|
||||
|
||||
Reference in New Issue
Block a user