We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
add_team_member
add_team_membership
1 parent 445672b commit 67bdc38Copy full SHA for 67bdc38
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