Skip to content

Commit 4a79727

Browse files
committed
Reference user off team members
1 parent cd8a70f commit 4a79727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/badges/octopussy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Octopussy < BadgeBase
1212

1313
def self.github_team
1414
Rails.cache.fetch("octopussy_github_team_members", expires_in: 1.day) do
15-
Team.find_by_name('Github').members.collect { |user| user.github }.compact
15+
Team.find_by_name('Github').members.collect { |member| member.user.github }.compact
1616
end
1717
end
1818

0 commit comments

Comments
 (0)