Authorization functioning

This commit is contained in:
kdeng00 committed 2021-12-24 16:45:40 -05:00
1 parent 471fa71789
commit f8d9c8e4a7
8 files changed
+44 -64

No files matched your search

+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)
{