Skip to content

Commit

Permalink
Changed userid to int
Browse files Browse the repository at this point in the history
  • Loading branch information
allomanta committed Feb 19, 2024
1 parent 2bf7456 commit b0dac73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IguideME.Web/Services/LMSHandlers/BrightspaceHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ INNER JOIN user_enrollments
AND (user_enrollments.role_id = 110
OR user_enrollments.role_id = 130
OR user_enrollments.role_id = 134)",
new NpgsqlParameter("userID", userID),
new NpgsqlParameter("userID", int.Parse(userID)),
new NpgsqlParameter("courseID", courseID)
)
)
Expand Down

0 comments on commit b0dac73

Please sign in to comment.