Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #927 from SE-TINF22B6/backend
Browse files Browse the repository at this point in the history
Hotfix: change mapping
  • Loading branch information
denniskp authored Jun 11, 2024
2 parents 2f7e539 + da0d695 commit 4df9fff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public List<HomepagePostPreviewProposal> getPostsByTagKeyword(@PathVariable Stri
return service.getPostTagsByKeyword(keyword);
}

@GetMapping("/friend-posts-by-tag")
@PostMapping("/friend-posts-by-tag")
public List<HomepagePostPreviewProposal> getFriendPostsByTag(@RequestBody FriendPostsByTagProposal friendPostsByTagProposal) {
return service.getPostsFromFriendsByTag(friendPostsByTagProposal.getUserId(), friendPostsByTagProposal.getTag());
}
Expand Down

0 comments on commit 4df9fff

Please sign in to comment.