Skip to content

Commit

Permalink
Fix DI nit
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacrlevin authored Nov 23, 2023
1 parent c971dfb commit 2a7a43e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/todo/api/csharp-sql-func/ListsFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
namespace SimpleTodo.Api;
public class ListsFunctions
{
private readonly ILogger _logger;
private readonly ILogger logger;
private readonly ListsRepository repository;

public ListsFunctions(ILoggerFactory loggerFactory, ListsRepository repository)
public ListsFunctions(ILoggerFactory _loggerFactory, ListsRepository _repository)
{
_logger = loggerFactory.CreateLogger<ListsFunctions>();
repository = repository;
logger = _loggerFactory.CreateLogger<ListsFunctions>();
repository = _repository;
}

[Function("GetLists")]
Expand Down

0 comments on commit 2a7a43e

Please sign in to comment.