From 1da75268e4d2af2d31f69daa2bde8f8886c7e54f Mon Sep 17 00:00:00 2001 From: Bruno Da Costa Cunha Date: Fri, 24 Feb 2023 13:21:45 +0100 Subject: [PATCH] Update playerController --- code/server/ApiLeapHit/Controllers/PlayerController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/server/ApiLeapHit/Controllers/PlayerController.cs b/code/server/ApiLeapHit/Controllers/PlayerController.cs index 791a616..8b46504 100644 --- a/code/server/ApiLeapHit/Controllers/PlayerController.cs +++ b/code/server/ApiLeapHit/Controllers/PlayerController.cs @@ -7,6 +7,8 @@ using System.Net; namespace ApiLeapHit.Controllers { + [Route("api/[controller]")] + [ApiController] public class PlayerController : ControllerBase { private readonly DbDataManager _dataManager;