Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/add post path variable #39

Merged
merged 5 commits into from
May 17, 2024
Merged

Fix/add post path variable #39

merged 5 commits into from
May 17, 2024

Conversation

luuh-oliveira
Copy link
Contributor

@luuh-oliveira luuh-oliveira commented May 17, 2024

Objetivo

Adição de Path Variable para receber id de Classroom

Implementação

Alteração na anotação de PostMapping


🚀 This description was created by Ellipsis for commit 7c040b5

Summary:

Updated the createPost method in PostController to include a path variable for Classroom ID in the @PostMapping annotation.

Key points:

  • Updated @PostMapping annotation in createPost method in PostController to include {id} path variable.
  • Method now accepts id of Classroom when creating a post.

Generated with ❤️ by ellipsis.dev

@luuh-oliveira luuh-oliveira merged commit 3470221 into main May 17, 2024
2 checks passed
@luuh-oliveira luuh-oliveira deleted the fix/addPostPathVariable branch June 1, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant