Skip to content

Commit

Permalink
Should fix assignment retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
allomanta committed Nov 24, 2024
1 parent c8a5b16 commit 0677333
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions IguideME.Web/Services/LMSHandlers/CanvasHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ private AppGradingType mapGradingType(GradingType type)
/// <inheritdoc />
public IEnumerable<AssignmentSubmission> GetSubmissions(int courseID, List<User> users)
{
List<AssignmentSubmission> submissions = new();
IEnumerable<AssignmentSubmission> submissions = new List<AssignmentSubmission>();
for (int i = 0; i < users.Count; i += 100)
{
submissions.Concat(GetSubmissionsBatch(courseID, users.GetRange(i, Math.Min(100, users.Count - i))));
submissions = submissions.Concat(GetSubmissionsBatch(courseID, users.GetRange(i, Math.Min(100, users.Count - i))));
};
return submissions;

Expand Down
2 changes: 0 additions & 2 deletions IguideME.Web/Services/Workers/AssignmentWorker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ public void Start()
this._courseID,
users
);
_logger.LogInformation("submission length: {}", submissions.Count());
_logger.LogInformation("submissions: {}", submissions);

Dictionary<int, (double, AppGradingType)> gradingTypes = new();
List<AssignmentSubmission> assignmentSubmissionsWithTiles = new();
Expand Down
4 changes: 2 additions & 2 deletions charts/iguideme/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: iguideme
description: IguideME
type: application
version: 0.3.244
appVersion: "0.3.244"
version: 0.3.245
appVersion: "0.3.245"

0 comments on commit 0677333

Please sign in to comment.