File tree 1 file changed +4
-1
lines changed
services/grid-bot/lib/utility/Implementation
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -131,13 +131,15 @@ public class AvatarUtility : IAvatarUtility
131
131
/// <param name="jobManager">The <see cref="IJobManager"/>.</param>
132
132
/// <param name="thumbnailsClient">The <see cref="IThumbnailsClient"/>.</param>
133
133
/// <param name="percentageInvoker">The <see cref="IPercentageInvoker"/>.</param>
134
+ /// <param name="httpClientFactory">The <see cref="IHttpClientFactory"/>.</param>
134
135
public AvatarUtility (
135
136
ILogger logger ,
136
137
AvatarSettings avatarSettings ,
137
138
IRandom random ,
138
139
IJobManager jobManager ,
139
140
IThumbnailsClient thumbnailsClient ,
140
- IPercentageInvoker percentageInvoker
141
+ IPercentageInvoker percentageInvoker ,
142
+ IHttpClientFactory httpClientFactory
141
143
)
142
144
{
143
145
_logger = logger ?? throw new ArgumentNullException ( nameof ( logger ) ) ;
@@ -146,6 +148,7 @@ IPercentageInvoker percentageInvoker
146
148
_jobManager = jobManager ?? throw new ArgumentNullException ( nameof ( jobManager ) ) ;
147
149
_thumbnailsClient = thumbnailsClient ?? throw new ArgumentNullException ( nameof ( thumbnailsClient ) ) ;
148
150
_percentageInvoker = percentageInvoker ?? throw new ArgumentNullException ( nameof ( percentageInvoker ) ) ;
151
+ _httpClientFactory = httpClientFactory ?? throw new ArgumentNullException ( nameof ( httpClientFactory ) ) ;
149
152
150
153
_localCachedPaths = new ( avatarSettings . LocalCacheTtl ) ;
151
154
_localCachedPaths . EntryRemoved += OnLocalCacheEntryRemoved ;
You can’t perform that action at this time.
0 commit comments