From cf98cffeb8f3d711c0c55261cd30827f92c6a68f Mon Sep 17 00:00:00 2001 From: YaleChen299 Date: Mon, 24 Jul 2023 14:22:08 +0800 Subject: [PATCH] fix credo nesting alias --- lib/cadet/assessments/assessments.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cadet/assessments/assessments.ex b/lib/cadet/assessments/assessments.ex index d6aae9966..c0254e5cf 100644 --- a/lib/cadet/assessments/assessments.ex +++ b/lib/cadet/assessments/assessments.ex @@ -835,7 +835,7 @@ defmodule Cadet.Assessments do end) |> Repo.transaction() - Cadet.Accounts.Notifications.handle_unsubmit_notifications( + Notifications.handle_unsubmit_notifications( submission.assessment.id, Repo.get(CourseRegistration, submission.student_id) ) @@ -891,7 +891,7 @@ defmodule Cadet.Assessments do ) |> Repo.transaction() - Cadet.Accounts.Notifications.handle_unpublish_grades_notifications( + Notifications.handle_unpublish_grades_notifications( submission.assessment.id, Repo.get(CourseRegistration, submission.student_id) ) @@ -943,7 +943,7 @@ defmodule Cadet.Assessments do ) |> Repo.transaction() - Cadet.Accounts.Notifications.write_notification_when_graded( + Notifications.write_notification_when_graded( submission.id, :graded )