Skip to content

Commit

Permalink
api version fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
VeniaminBalan committed Oct 29, 2023
1 parent 723dfcb commit 558ab39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion GdscBackend/Features/Contacts/ContactController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace GdscBackend.Features.Contacts;

[ApiController]
[Authorize(AuthorizeConstants.CoreTeam)]
[ApiVersion("v1")]
[ApiVersion("1")]
[Route("v1/contact")]
public class ContactController : ControllerBase
{
Expand Down
5 changes: 0 additions & 5 deletions GdscBackend/Features/Events/EventsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ public EventsController(IRepository<EventModel> repository, IMapper mapper,
_filesRepository = filesRepository;
}

/*<<<<<<< HEAD
=======
>>>>>>> dev*/
[HttpPost]
[ProducesResponseType(StatusCodes.Status201Created)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
Expand Down

0 comments on commit 558ab39

Please sign in to comment.