Skip to content

Commit

Permalink
Fix DI
Browse files Browse the repository at this point in the history
Integration tests failing due to multiple ctors. Marking correct one for DI usage
  • Loading branch information
matthewcare committed Oct 26, 2021
1 parent cca526a commit ded1c0b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class TemplateController : BackOfficeNotificationsController
private readonly IShortStringHelper _shortStringHelper;
private readonly IDefaultViewContentProvider _defaultViewContentProvider;

[ActivatorUtilitiesConstructor]
public TemplateController(
IFileService fileService,
IUmbracoMapper umbracoMapper,
Expand Down

0 comments on commit ded1c0b

Please sign in to comment.