summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorvin <git@vineetk.net>2023-11-16 13:44:11 -0500
committervin <git@vineetk.net>2023-11-20 10:08:58 -0500
commit23226c46a16bd1037016c1578b608eb6d23f7546 (patch)
tree04cad20e31b2d76b5e76bebed151503c89c43f03 /structs.go
parentb966951c47e2ba886d7a99541072c586b64bb17a (diff)
use the Canvas API to get A+ tool ID and URL
Was previously hardcoded.
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index bf75787..2da2899 100644
--- a/structs.go
+++ b/structs.go
@@ -54,3 +54,9 @@ type Enrollment struct {
54 EnrollmentState string `json:"enrollment_state"` 54 EnrollmentState string `json:"enrollment_state"`
55 LimitPrivilegesToCourseSection bool `json:"limit_privileges_to_course_section"` 55 LimitPrivilegesToCourseSection bool `json:"limit_privileges_to_course_section"`
56} 56}
57
58type ExternalTool struct {
59 ID int `json:"id"`
60 URL string `json:"url"`
61 Status string `json:"status"`
62}