Skip to content

Commit

Permalink
Fix LogViewerController ambiguous constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolajlauridsen committed Dec 15, 2021
1 parent 694a636 commit e5deb7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public class LogViewerController : BackOfficeNotificationsController
public LogViewerController(ILogViewer logViewer)
: this(logViewer, StaticServiceProvider.Instance.GetRequiredService<ILogLevelLoader>())
{

}

[ActivatorUtilitiesConstructor]
public LogViewerController(ILogViewer logViewer, ILogLevelLoader logLevelLoader)
{
_logViewer = logViewer ?? throw new ArgumentNullException(nameof(logViewer));
Expand Down

0 comments on commit e5deb7f

Please sign in to comment.