Authorize
This commit is contained in:
@@ -14,8 +14,7 @@ using Microsoft.AspNetCore.Mvc;
|
|||||||
|
|
||||||
namespace LaDOSE.Api.Controllers
|
namespace LaDOSE.Api.Controllers
|
||||||
{
|
{
|
||||||
[AllowAnonymous]
|
[Authorize]
|
||||||
//[Authorize]
|
|
||||||
[Produces("application/json")]
|
[Produces("application/json")]
|
||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
public class BotEventController : GenericControllerDTO<IBotEventService, BotEvent, BotEventDTO>
|
public class BotEventController : GenericControllerDTO<IBotEventService, BotEvent, BotEventDTO>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using Microsoft.AspNetCore.Mvc;
|
|||||||
namespace LaDOSE.Api.Controllers
|
namespace LaDOSE.Api.Controllers
|
||||||
{
|
{
|
||||||
|
|
||||||
//[Authorize]
|
[Authorize]
|
||||||
[Produces("application/json")]
|
[Produces("application/json")]
|
||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
public class EventController : GenericControllerDTO<IEventService, Event, EventDTO>
|
public class EventController : GenericControllerDTO<IEventService, Event, EventDTO>
|
||||||
|
|||||||
Reference in New Issue
Block a user