Skip to content

Fixed instances where HTTP methods don't match the type of params #583

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

Conversation

akashdotsrivastava
Copy link
Collaborator

While working on #581, I noticed a mismatch where a query was passed instead of a body in a put request. I fixed it in https://github.com/NARKOZ/gitlab/pull/582/files#diff-02a255696d374d3f496912f418e45429L61-R71

I suspected there might be similar issues with post, put and delete in other endpoints as well. Ran a few simple checks, and found a few mismatches. Have cross-checked with the API docs and found a few that are rightly so, but a few actual bugs as well. This PR fixes all those mismatches.

@akashdotsrivastava
Copy link
Collaborator Author

@NARKOZ Need a review to merge this.

@NARKOZ
Copy link
Owner

NARKOZ commented Sep 14, 2020

Sorry, I'll get to this today.

@akashdotsrivastava akashdotsrivastava merged commit c6d7243 into NARKOZ:master Sep 15, 2020
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.

2 participants