diff --git a/canvas.go b/canvas.go index 2991ebd..02c3cc9 100644 --- a/canvas.go +++ b/canvas.go @@ -79,7 +79,7 @@ func init_aplus_toolid(course_id int) error { } func list_all_courses() { - all_courses := fmt.Sprintf("%s/courses?access_token=%s&per_page=100", base_link, token) + all_courses := fmt.Sprintf("%s/courses?access_token=%s&enrollment_state=active&per_page=100", base_link, token) canvas_courses := get_courses(token, all_courses, client)