Authorization functioning

This commit is contained in:
kdeng00
2021-12-24 16:45:40 -05:00
parent 471fa71789
commit f8d9c8e4a7
8 changed files with 44 additions and 64 deletions
+1
View File
@@ -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)
{