mirror of
				https://github.com/D4M13N-D3V/comissions-app-core-api.git
				synced 2025-10-31 01:25:27 +00:00 
			
		
		
		
	fix: should now return the user with the artist access request endpoint
This commit is contained in:
		
							parent
							
								
									5221f0a8b2
								
							
						
					
					
						commit
						1801ea7493
					
				| @ -45,7 +45,7 @@ public class AdminArtistRequestsController : Controller | ||||
|     [Route("{requestId:int}")] | ||||
|     public async Task<IActionResult> GetArtistRequest(int requestId) | ||||
|     { | ||||
|         var request = await _dbContext.ArtistRequests.FirstOrDefaultAsync(x=>x.Id==requestId); | ||||
|         var request = await _dbContext.ArtistRequests.Include(x=>x.User).FirstOrDefaultAsync(x=>x.Id==requestId); | ||||
|         if(request==null) | ||||
|             return NotFound(); | ||||
|         var result = request.ToModel(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Damien Ostler
						Damien Ostler