summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvin <git@vineetk.net>2023-11-20 13:09:35 -0500
committervin <git@vineetk.net>2023-11-20 13:09:35 -0500
commit6abb8ede02ebe38f1c84b7bdf0d8be96b9997ec1 (patch)
treec28003740fa5e74cf6ad4a06f468d2c911d5d666
parent138121330e97cf6a31a4abd91b8bec206d7d7f80 (diff)
do not return an error when init_aplus_toolid is successful
-rw-r--r--canvas.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/canvas.go b/canvas.go
index 5a43999..d781717 100644
--- a/canvas.go
+++ b/canvas.go
@@ -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