From 47dfde30e9c07cb25222caffd09e35746086cc35 Mon Sep 17 00:00:00 2001
From: MaxchilKH <m.w.bohdanowicz@gmail.com>
Date: Sun, 4 Oct 2020 13:30:12 +0200
Subject: [PATCH] add

---
 .../Controllers/InternshipTypesController.cs                     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/InternshipSystem.Api/Controllers/InternshipTypesController.cs b/src/InternshipSystem.Api/Controllers/InternshipTypesController.cs
index 9fa8ccb..41b218d 100644
--- a/src/InternshipSystem.Api/Controllers/InternshipTypesController.cs
+++ b/src/InternshipSystem.Api/Controllers/InternshipTypesController.cs
@@ -38,6 +38,7 @@ namespace InternshipSystem.Api.Controllers
             var edition = 
                 await Context.Editions
                     .Include(e => e.AvailableInternshipTypes)
+                        .ThenInclude(e => e.InternshipType)
                     .Where(e => e.Id.Equals(user.EditionId))
                     .FirstOrDefaultAsync(cancellationToken: cancellationToken);