Fixed bug in Basket API
This commit is contained in:
		
							parent
							
								
									02382a6997
								
							
						
					
					
						commit
						da0042ff56
					
				| @ -1,13 +1,14 @@ | |||||||
| namespace Basket.API.Infrastructure.Middlewares; | namespace Basket.API.Infrastructure.Middlewares; | ||||||
|  | using Microsoft.Extensions.Logging; | ||||||
| 
 | 
 | ||||||
| public class FailingMiddleware | public class FailingMiddleware | ||||||
| { | { | ||||||
|     private readonly RequestDelegate _next; |     private readonly RequestDelegate _next; | ||||||
|     private bool _mustFail; |     private bool _mustFail; | ||||||
|     private readonly FailingOptions _options; |     private readonly FailingOptions _options; | ||||||
|     private readonly Microsoft.Extensions.Logging.ILogger _logger; |     private readonly ILogger _logger; | ||||||
| 
 | 
 | ||||||
|     public FailingMiddleware(RequestDelegate next, Microsoft.Extensions.Logging.ILogger<FailingMiddleware> logger, FailingOptions options) |     public FailingMiddleware(RequestDelegate next, ILogger<FailingMiddleware> logger, FailingOptions options) | ||||||
|     { |     { | ||||||
|         _next = next; |         _next = next; | ||||||
|         _options = options; |         _options = options; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user