We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 445672b + 67bdc38 commit 75f242eCopy full SHA for 75f242e
app/models/github_badge.rb
@@ -18,7 +18,7 @@ def add(badge, github_username)
18
19
id = @client.organization_teams("coderwall-#{badge_name}")[1].id
20
21
- @client.add_team_member(id, github_username)
+ @client.add_team_membership(id, github_username)
22
rescue Octokit::NotFound => e
23
Rails.logger.error("Failed to add badge #{badge_name} for #{github_username}") if ENV['DEBUG']
24
rescue Errno::ECONNREFUSED => e
0 commit comments