Skip to content

Commit 32e0c61

Browse files
committed
fixed logger exception
1 parent 3457153 commit 32e0c61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NorthwindCRUD/Controllers/AuthController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public class AuthController : Controller
1414
private readonly IConfiguration configuration;
1515
private readonly AuthService authService;
1616
private readonly IMapper mapper;
17-
private readonly ILogger logger;
17+
private readonly ILogger<AuthController> logger;
1818

19-
public AuthController(IConfiguration configuration, AuthService authService, IMapper mapper, ILogger logger)
19+
public AuthController(IConfiguration configuration, AuthService authService, IMapper mapper, ILogger<AuthController> logger)
2020
{
2121
this.configuration = configuration;
2222
this.authService = authService;

0 commit comments

Comments
 (0)