diff --git a/Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs b/Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs index b185203ee078a590ebb6928232f20dc465c0ce25..83a96c4131d8d15ce2ab53da366c9b0c59477bef 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);