From f876f7a45e2fd8f291274c4410c3625ee3818178 Mon Sep 17 00:00:00 2001
From: MaxchilKH <m.w.bohdanowicz@gmail.com>
Date: Sun, 8 Nov 2020 00:14:56 +0100
Subject: [PATCH] fix

---
 src/InternshipSystem.Api/Controllers/InternshipController.cs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/InternshipSystem.Api/Controllers/InternshipController.cs b/src/InternshipSystem.Api/Controllers/InternshipController.cs
index 9fdfa47..fc1c017 100644
--- a/src/InternshipSystem.Api/Controllers/InternshipController.cs
+++ b/src/InternshipSystem.Api/Controllers/InternshipController.cs
@@ -45,6 +45,7 @@ namespace InternshipSystem.Api.Controllers
                 .Include(i => i.InternshipRegistration.BranchAddress)
                 .Include(i => i.InternshipRegistration.Type)
                 .Include(i => i.InternshipRegistration.Subjects)
+                .ThenInclude(subject => subject.Subject)
                 .Include(i => i.Report)
                 .Include(i => i.Documentation)
                 .SingleAsync(i => i.Student.Id == user.PersonNumber, cancellationToken);
-- 
2.45.2