Removing deprecated call
Removing method call that has been deprecated from one of the Controller classes
This commit is contained in:
@@ -53,11 +53,6 @@ namespace Icarus.Controllers.V1
|
|||||||
[HttpGet("{id}")]
|
[HttpGet("{id}")]
|
||||||
public IActionResult GetArtist(int id)
|
public IActionResult GetArtist(int id)
|
||||||
{
|
{
|
||||||
if (!IsTokenValid("read:artists"))
|
|
||||||
{
|
|
||||||
return StatusCode(401, "Not allowed");
|
|
||||||
}
|
|
||||||
|
|
||||||
Artist artist = new Artist
|
Artist artist = new Artist
|
||||||
{
|
{
|
||||||
ArtistID = id
|
ArtistID = id
|
||||||
|
|||||||
Reference in New Issue
Block a user