Skip to content

Commit

Permalink
Merge pull request #37 from educ-ai-org/fix/incorrectEndpointAnnotation
Browse files Browse the repository at this point in the history
fix: duplicated post annotation
  • Loading branch information
luuh-oliveira authored May 17, 2024
2 parents 446e792 + d3e657e commit 56ed351
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/api/educai/controllers/PostController.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public class PostController {
private PostService postService;

@Secured("ROLE_TEACHER")
@PostMapping
@Operation(summary = "Cria um post")
@PostMapping
public ResponseEntity<Post> createPost(@RequestBody @Valid PostDTO post, @PathVariable String id){
Expand Down

0 comments on commit 56ed351

Please sign in to comment.