Added grant permissions for streaming songs #7
This commit is contained in:
1 parent
42facee883
commit
a2b7271498
2 files changed
+6
No files matched your search
@@ -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