Skip to content

Commit cd8a70f

Browse files
committed
Fixed error in the Octopussy badge
1 parent 4db5d81 commit cd8a70f

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.where(name: 'Github').members.collect { |user| user.github }.compact
15+
Team.find_by_name('Github').members.collect { |user| user.github }.compact
1616
end
1717
end
1818

0 commit comments

Comments
 (0)