fix: harden real backend workflows and channel connections
This commit is contained in:
@@ -64,8 +64,13 @@ export class ChannelsController {
|
||||
}
|
||||
|
||||
@Get('channels/:id/link-logs')
|
||||
listChannelLinkLogs(@Param('id') channelId: string) {
|
||||
return this.channels.listChannelLinkLogs(channelId);
|
||||
listLegacyChannelConnectionLogs(@Param('id') channelId: string) {
|
||||
return this.channels.listChannelConnectionLogs(channelId);
|
||||
}
|
||||
|
||||
@Get('channels/:id/connection-logs')
|
||||
listChannelConnectionLogs(@Param('id') channelId: string) {
|
||||
return this.channels.listChannelConnectionLogs(channelId);
|
||||
}
|
||||
|
||||
@Get('channels/:id/connections')
|
||||
@@ -98,6 +103,11 @@ export class ChannelsController {
|
||||
return this.channels.updateGroup(groupId, body);
|
||||
}
|
||||
|
||||
@Delete('channel-groups/:id')
|
||||
deleteGroup(@Param('id') groupId: string) {
|
||||
return this.channels.deleteGroup(groupId);
|
||||
}
|
||||
|
||||
@Post('channel-groups/items')
|
||||
addGroupItem(@Body() body: CreateChannelGroupItemDto) {
|
||||
return this.channels.addGroupItem(body);
|
||||
|
||||
Reference in New Issue
Block a user