mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
f
This commit is contained in:
parent
d28951719b
commit
58c8b5af24
@ -256,7 +256,7 @@ public class ArtistController : Controller
|
|||||||
var ArtistRequest = await _dbContext.ArtistRequests.FirstOrDefaultAsync(request=>request.UserId==userId && request.Accepted==false);
|
var ArtistRequest = await _dbContext.ArtistRequests.FirstOrDefaultAsync(request=>request.UserId==userId && request.Accepted==false);
|
||||||
if(ArtistRequest!=null)
|
if(ArtistRequest!=null)
|
||||||
return BadRequest();
|
return BadRequest();
|
||||||
return Unauthorized();
|
return BadRequest();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(existingArtist.Suspended)
|
if(existingArtist.Suspended)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user