diff options
| author | vin <git@vineetk.net> | 2023-11-20 13:09:35 -0500 |
|---|---|---|
| committer | vin <git@vineetk.net> | 2023-11-20 13:09:35 -0500 |
| commit | 6abb8ede02ebe38f1c84b7bdf0d8be96b9997ec1 (patch) | |
| tree | c28003740fa5e74cf6ad4a06f468d2c911d5d666 /canvas.go | |
| parent | 138121330e97cf6a31a4abd91b8bec206d7d7f80 (diff) | |
do not return an error when init_aplus_toolid is successful
Diffstat (limited to 'canvas.go')
| -rw-r--r-- | canvas.go | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -69,6 +69,7 @@ func init_aplus_toolid(course_id int) error { | |||
| 69 | if strings.Contains(tool.URL, ".aplusattendance.com/") && base_aplus_link == "" { | 69 | if strings.Contains(tool.URL, ".aplusattendance.com/") && base_aplus_link == "" { |
| 70 | base_aplus_link = tool.URL | 70 | base_aplus_link = tool.URL |
| 71 | external_tools_code = tool.ID | 71 | external_tools_code = tool.ID |
| 72 | return nil | ||
| 72 | } | 73 | } |
| 73 | } | 74 | } |
| 74 | 75 | ||
