Skip to content

Commit

Permalink
[core] fix channels swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
devlikepro committed Oct 27, 2024
1 parent ba6474f commit 1afd7e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api/channels.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class ChannelsController {
}
}

@Post('follow')
@Post(':id/follow')
@SessionApiParam
@NewsletterIdApiParam
@ApiOperation({ summary: 'Follow the channel.' })
Expand All @@ -93,7 +93,7 @@ export class ChannelsController {
return session.channelsFollowChannel(id);
}

@Post('unfollow')
@Post(':id/unfollow')
@SessionApiParam
@NewsletterIdApiParam
@ApiOperation({ summary: 'Unfollow the channel.' })
Expand All @@ -104,7 +104,7 @@ export class ChannelsController {
return session.channelsUnfollowChannel(id);
}

@Post('mute')
@Post(':id/mute')
@SessionApiParam
@NewsletterIdApiParam
@ApiOperation({ summary: 'Mute the channel.' })
Expand All @@ -115,7 +115,7 @@ export class ChannelsController {
return session.channelsMuteChannel(id);
}

@Post('unmute')
@Post(':id/unmute')
@SessionApiParam
@NewsletterIdApiParam
@ApiOperation({ summary: 'Unmute the channel.' })
Expand Down

0 comments on commit 1afd7e0

Please sign in to comment.