Skip to content

Commit 9679778

Browse files
committed
Add parts
1 parent 44b6697 commit 9679778

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/background_tasks/kafka_batch_update_points_task.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def run
1919
next
2020
end
2121
points_per_user = AwardedPoint.count_per_user_in_course_with_sheet(course, course.gdocs_sheets)
22+
parts = course.exercise_groups.map(&:name)
2223
Rails.logger.info("Found points for #{parts.keys.length} users")
2324
available_points = AvailablePoint.course_sheet_points(course, parts)
2425
points_per_user.each do |username, points_by_group|

0 commit comments

Comments
 (0)