Skip to content

Commit

Permalink
Merge pull request #323 from SELab-2/backend_extras
Browse files Browse the repository at this point in the history
Kleine fix die ervoor zorgt dat hyperlink in mail werkt
  • Loading branch information
sPAICEcake authored May 23, 2024
2 parents 8ff89a7 + f249a68 commit b88ea4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b88ea4f

Please sign in to comment.