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

Remove redundant TeamsRestAPI Post method #5636

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

d-rita
Copy link
Contributor

@d-rita d-rita commented Mar 20, 2023

What does this PR do?
Under the TeamsRestAPI, we have two methods doing the same job, i.e. POST and PATCH. This PR removes the redundant POST method that is not in use anywhere and is essentially a copy of what the PATCH method does.
The PATCH method is retained since the RFC standards dictate that the PATCH method is what is used to update a resource and not POST.

@sonarcloud
Copy link

sonarcloud bot commented Mar 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@d-rita d-rita marked this pull request as ready for review March 20, 2023 17:09
@eternaltyro eternaltyro self-requested a review April 16, 2023 11:00
Copy link
Contributor

@eternaltyro eternaltyro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good. How will this change the API version?

@d-rita
Copy link
Contributor Author

d-rita commented Apr 19, 2023

Looks Good. How will this change the API version?

There might be no need to change the API version since the method itself was not in use at any point, i.e. not mapped to any endpoint.

@eternaltyro
Copy link
Contributor

Okay, that does not warrant an API version change. All clear from my end.

@Aadesh-Baral Aadesh-Baral merged commit 45e799e into develop Apr 19, 2023
@Aadesh-Baral Aadesh-Baral deleted the fix/teams-post-method branch April 19, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants