From d182602f13e7cbbbbad59452b3bf87ffa77b0cbe Mon Sep 17 00:00:00 2001 From: yuki2006 Date: Thu, 21 Mar 2024 16:04:22 +0900 Subject: [PATCH] CourseRole.id ->CourseRole.roleid --- moodle_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moodle_api.go b/moodle_api.go index e5d6df9..62f0e9b 100644 --- a/moodle_api.go +++ b/moodle_api.go @@ -1159,7 +1159,7 @@ type CourseGroup struct { } type CourseRole struct { - Id int64 `json:"id"` + Id int64 `json:"roleid"` Name string `json:"name"` ShortName string `json:"shortname"` }