Skip to content

Commit

Permalink
Fix typo in MatchmakingGroupsController
Browse files Browse the repository at this point in the history
  • Loading branch information
alimi committed Jan 17, 2024
1 parent 61e403a commit 9c0f936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/matchmaking_groups_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class MatchmakingGroupsController < ApplicationController
def index
@groups = CollectsGroup.new.call.to_h
@groups = CollectGroups.new.call.to_h
.reduce([]) { |acc, (k, v)| acc << v.to_h.merge(name: k) }
.sort_by { |g| [g[:readonly] ? 0 : 1, g[:name]] }
end
Expand Down

0 comments on commit 9c0f936

Please sign in to comment.