Skip to content

Commit

Permalink
Merge pull request #19 from SlateFoundation/develop
Browse files Browse the repository at this point in the history
Release: v1.7.5
  • Loading branch information
nbey authored Sep 21, 2023
2 parents 7abc21b + de08d9b commit 0bd9d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion php-classes/RemoteSystems/Canvas.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public static function getEnrollmentsBySection($sectionID)
public static function getEnrollmentsByUser($userId, array $options = [])
{
$options = array_merge([
'state' => ['active', 'invited', 'creation_pending', 'deleted', 'rejected', 'completed', 'inactive'],
'state' => ['active', 'invited', 'creation_pending', 'rejected', 'completed', 'inactive'], // , 'deleted'
'type' => ['StudentEnrollment', 'TeacherEnrollment', 'ObserverEnrollment', 'TaEnrollment'],
'per_page' => 1000
], $options);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Enrollments
'active',
'invited',
'creation_pending',
'deleted',
// 'deleted',
'rejected',
'completed',
'inactive',
Expand Down

0 comments on commit 0bd9d22

Please sign in to comment.