Added grant permissions for streaming songs #7
This commit is contained in:
@@ -39,6 +39,7 @@ namespace Icarus.Controllers.V1
|
||||
|
||||
#region HTTP endpoints
|
||||
[HttpGet("{id}")]
|
||||
[Authorize("stream:songs")]
|
||||
public async Task<IActionResult> Get(int id)
|
||||
{
|
||||
var songStore= HttpContext
|
||||
|
||||
Reference in New Issue
Block a user