From f249a68fd33e92f6aa003806560b636c637c0c6b Mon Sep 17 00:00:00 2001 From: lgdtimtou Date: Thu, 23 May 2024 15:11:54 +0200 Subject: [PATCH] Kleine fix die ervoor zorgt dat hyperlink in mail werkt --- api/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/utils.py b/api/utils.py index 9bebbff7..67a8da68 100644 --- a/api/utils.py +++ b/api/utils.py @@ -127,8 +127,7 @@ def send_indiening_confirmation_mail(indiening): project = indiening.groep.project project_url = f"https://sel2-4.ugent.be/course/{project.vak.vak_id}/assignment/{project.project_id}" - indiening_url = f"https://sel2-4.ugent.be/course/{project.vak.vak_id}/assignment/ \ - {project.project_id}/submission/{indiening.indiening_id}" + indiening_url = f"{project_url}/submission/{indiening.indiening_id}" for student in indiening.groep.studenten.all(): subject = "Indieningsontvangst"