Skip to content

Commit 2789214

Browse files
committed
Fix: React CORS and TypeError with regions.map in Scouting
1 parent 3fe97ca commit 2789214

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/api/v1/scouting/regions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ def index
1616
{ code: 'TR', name: 'Turkey', platform: 'TR1' }
1717
]
1818

19-
render_success({ regions: regions })
19+
render_success(regions)
2020
end
2121
end

0 commit comments

Comments
 (0)