upd
This commit is contained in:
@@ -13,11 +13,8 @@ export class FeedController {
|
||||
constructor(private readonly feedService: FeedService) {}
|
||||
|
||||
@Get()
|
||||
@ApiOperation({ summary: 'Get filtered feed of profiles' })
|
||||
getFeed(
|
||||
@CurrentUser('id') userId: string,
|
||||
@Query() filter: FeedFilterDto,
|
||||
) {
|
||||
@ApiOperation({ summary: 'Get filtered feed (requires profileId)' })
|
||||
getFeed(@CurrentUser('id') userId: string, @Query() filter: FeedFilterDto) {
|
||||
return this.feedService.getFeed(userId, filter);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user