diff options
| author | vin <git@vineetk.net> | 2023-11-16 13:44:11 -0500 |
|---|---|---|
| committer | vin <git@vineetk.net> | 2023-11-20 10:08:58 -0500 |
| commit | 23226c46a16bd1037016c1578b608eb6d23f7546 (patch) | |
| tree | 04cad20e31b2d76b5e76bebed151503c89c43f03 /structs.go | |
| parent | b966951c47e2ba886d7a99541072c586b64bb17a (diff) | |
use the Canvas API to get A+ tool ID and URL
Was previously hardcoded.
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -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 | |||
| 58 | type ExternalTool struct { | ||
| 59 | ID int `json:"id"` | ||
| 60 | URL string `json:"url"` | ||
| 61 | Status string `json:"status"` | ||
| 62 | } | ||
