Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed Feb 13, 2024
1 parent 48695da commit fef7feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v8/courses/exercises_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def index
.select(&:_fast_visible?)
end

all_awarded_points = AwardedPoints.course_user_points(course, current_user).includes(:submissions)
all_awarded_points = AwardedPoint.course_user_points(course, current_user).includes(:submissions)

presentable = all_exercises.map do |ex|
points_visible = ex.points_visible_to?(current_user)
Expand Down

0 comments on commit fef7feb

Please sign in to comment.