mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
need to fix quiz assignment bug
This commit is contained in:
@@ -44,7 +44,7 @@ public class CanvasAssignmentService
|
||||
submission_types = localAssignment.SubmissionTypes.Select(t => t.ToString()),
|
||||
description = htmlDescription,
|
||||
due_at = localAssignment.DueAt,
|
||||
lock_at = localAssignment.LockAt,
|
||||
lock_at = localAssignment.LockAtDueDate ? localAssignment.DueAt : localAssignment.LockAt,
|
||||
points_possible = localAssignment.PointsPossible
|
||||
};
|
||||
var bodyObj = new { assignment = body };
|
||||
@@ -71,7 +71,7 @@ public class CanvasAssignmentService
|
||||
submission_types = localAssignment.SubmissionTypes.Select(t => t.ToString()),
|
||||
description = htmlDescription,
|
||||
due_at = localAssignment.DueAt,
|
||||
lock_at = localAssignment.LockAt,
|
||||
lock_at = localAssignment.LockAtDueDate ? localAssignment.DueAt : localAssignment.LockAt,
|
||||
points_possible = localAssignment.PointsPossible
|
||||
};
|
||||
var bodyObj = new { assignment = body };
|
||||
|
||||
Reference in New Issue
Block a user