From cacf5aee4294f5e06e2140b6a47cce17d5271beb Mon Sep 17 00:00:00 2001
From: Enzo Santangelo Dodera <enzo.santangelo@fing.edu.uy>
Date: Sat, 7 Nov 2020 18:14:05 -0300
Subject: [PATCH] Update ForumController.cs

---
 Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs b/Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs
index b185203..83a96c4 100644
--- a/Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs
+++ b/Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
@@ -23,7 +23,7 @@ namespace Tsi1.Api.Controllers
         }
 
         [Authorize(Roles = UserTypes.Student + ", " + UserTypes.Professor)]
-        [HttpGet("GetForums/{courseId}")]
+        [HttpGet("GetForums/{sectionId}")]
         public async Task<IActionResult> GetForums(int sectionId)
         {
             var result = await _forumService.GetForums(sectionId);
-- 
GitLab