Authorization functioning
This commit is contained in:
1 parent
471fa71789
commit
f8d9c8e4a7
8 files changed
+44
-64
No files matched your search
@@ -61,6 +61,7 @@ namespace Icarus.Controllers.V1
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[Route("private-scoped")]
|
||||
[Authorize("upload:songs")]
|
||||
public async Task Post([FromForm(Name = "file")] List<IFormFile> songData)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user