diff --git a/AUTHORS.md b/AUTHORS.md index 7df4e013..7345e43c 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -32,12 +32,14 @@ - Caitlin Fabian [@Caitlin-Fabian](https://github.com/Caitlin-Fabian) - Cameron Cuff [@ctcuff](https://github.com/ctcuff) - Catherine Abbruzzese [@cat0698](https://github.com/cat0698) +- Christopher Nitta [@cjnitta](https://github.com/cjnitta) - Craig Thompson [@craigdsthompson](https://github.com/craigdsthompson) - Dalton Durst [@UniversalSuperBox](https://github.com/UniversalSuperBox) - Damian Sweeney [@damianfs](https://github.com/damianfs) - Daniel Bosk [@dbosk](https://github.com/dbosk) - Daniel Brinkman [@DanBrink91](https://github.com/DanBrink91) - Daniel Grobani [@dgrobani](https://github.com/dgrobani) +- Daniel Gawne [@dgwn](https://github.com/dgwn) - Daniel Molares [@dmols](https://github.com/dmols) - David Warden [@dfwarden](https://github.com/dfwarden) - Davis Goff [@Goff-Davis](https://github.com/Goff-Davis) diff --git a/CHANGELOG.md b/CHANGELOG.md index f10175b1..37158df2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ - Updated `RateLimitExceeded` exception to trigger on HTTP 429 instead of old 403. - Add a default User-Agent header +### Bugfixes + +- `QuizGroup` fixed to have `course_id` of the quiz's `course_id`, instead of the `quiz_id` (Thanks, [@cjnitta](https://github.com/cjnitta) and [@dgwn](https://github.com/dgwn)) + ## [3.4.0] - 2025-11-10 ### New Endpoint Coverage diff --git a/canvasapi/quiz.py b/canvasapi/quiz.py index 1602fb0f..41ed481b 100644 --- a/canvasapi/quiz.py +++ b/canvasapi/quiz.py @@ -112,7 +112,7 @@ def create_question_group(self, quiz_groups, **kwargs): ) response_json = response.json() - response_json["quiz_groups"][0].update({"course_id": self.id}) + response_json["quiz_groups"][0].update({"course_id": self.course_id}) return QuizGroup(self._requester, response_json.get("quiz_groups")[0])