Skip to content

Fix bug with updating a collaboration role to owner#536

Merged
sujaygarlanka merged 7 commits intomasterfrom
fix-collaboration-update-info
Sep 14, 2020
Merged

Fix bug with updating a collaboration role to owner#536
sujaygarlanka merged 7 commits intomasterfrom
fix-collaboration-update-info

Conversation

@sujaygarlanka
Copy link
Contributor

@sujaygarlanka sujaygarlanka commented Sep 10, 2020

This is to address issue #528. When a collaboration role is updated to an owner, the endpoint returns a 204 with no JSON response instead of the 200 with a JSON response that all other updates return. The SDK was throwing an error when a 204 is returned and this PR addresses the issue.

Wrote an automated test and did manual testing.

@coveralls
Copy link

coveralls commented Sep 10, 2020

Pull Request Test Coverage Report for Build 2271

  • 6 of 6 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 97.226%

Totals Coverage Status
Change from base Build 2263: 0.004%
Covered Lines: 2979
Relevant Lines: 3064

💛 - Coveralls

PJSimon
PJSimon previously approved these changes Sep 10, 2020
PJSimon
PJSimon previously approved these changes Sep 11, 2020
@sujaygarlanka sujaygarlanka merged commit 30e4283 into master Sep 14, 2020
@sujaygarlanka sujaygarlanka deleted the fix-collaboration-update-info branch September 14, 2020 18:40
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.

3 participants