Skip to content

fix: correct status codes for add and delete group member#183

Open
senutpal wants to merge 1 commit into
fossology:mainfrom
senutpal:fix-issue-179
Open

fix: correct status codes for add and delete group member#183
senutpal wants to merge 1 commit into
fossology:mainfrom
senutpal:fix-issue-179

Conversation

@senutpal
Copy link
Copy Markdown

fixes #179

this fixes an issue where add_group_member and delete_group_member were throwing errors on success. the api returns 201 and 202 instead of 200, so this just updates the checks to match what the api actually sends back.

fossology.add_group_member and fossology.delete_group_member incorrectly
checked for a 200 status code on success. the api actually returns 201
and 202, causing valid operations to fail. this updates the expected codes.
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.

add_group_member and delete_group_member raise FossologyApiError on success responses

1 participant