forked from ddrilling/AsbCloudServer
Права для критических сообщений CriticalMessage.get
This commit is contained in:
parent
f0578470f3
commit
3b2ea6e244
@ -65,7 +65,7 @@ public class MessageController : ControllerBase
|
||||
}
|
||||
|
||||
[HttpGet("/api/serviceOperation/[controller]")]
|
||||
[Permission]
|
||||
[Permission("CriticalMessage.get")]
|
||||
[ProducesResponseType(typeof(IEnumerable<StatCriticalMessageDto>), (int)System.Net.HttpStatusCode.OK)]
|
||||
public async Task<IActionResult> Get([FromQuery] MessageRequest request, CancellationToken token)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user