Skip to content

Commit

Permalink
Brackets around previously added check + logging
Browse files Browse the repository at this point in the history
  • Loading branch information
allomanta committed Sep 18, 2024
1 parent 7703630 commit ec65461
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions IguideME.Web/Services/LMSHandlers/BrightspaceHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ FROM grade_results
INNER JOIN users
ON users.user_id = grade_results.user_id
WHERE grade_results.org_unit_id = @courseID
AND is_released is null or is_released = TRUE AND grade_results.user_id
AND (is_released is null or is_released = TRUE)
AND grade_results.user_id
IN ({string.Join(",", users.Select((_, index) => $"@userID{index}"))})",
parameters
)
Expand All @@ -373,7 +374,9 @@ INNER JOIN users
{
try
{
string rawGrade = r.GetValue(4).ToString();
string rawGrade = r.GetValue(4).ToString();

_logger.LogInformation("user {}, text {}, num {}, den {}", r.GetValue(1), r.GetValue(4), r.GetValue(2), r.GetValue(3));
if (rawGrade.IsNullOrEmpty())
{
submissions.Add(
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.2.89
appVersion: "0.2.89"
version: 0.2.90
appVersion: "0.2.90"

0 comments on commit ec65461

Please sign in to comment.