fix: DeleteSocialAccounts and AddSocialAccounts of UsersService by Not-Dhananjay-Mishra · Pull Request #3922 · google/go-github
Fixes: #3921
Added an internal struct socialAccountsRequest and use it to send the request body instead of passing accountURLs directly, which previously caused an Invalid input error.
Since the struct is internal and the public method signature remains unchanged, this change introduces no breaking API changes.
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.45%. Comparing base (5dc0050) to head (1f5eb10).
⚠️ Report is 15 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@ ## master #3922 +/- ## ========================================== + Coverage 92.44% 92.45% +0.01% ========================================== Files 203 203 Lines 14925 14954 +29 ========================================== + Hits 13797 13826 +29 Misses 926 926 Partials 202 202
☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters