File tree 1 file changed +2
-2
lines changed
src/AzureOpenAIProxy.ApiApp/Repositories
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ public interface IAdminEventRepository
45
45
/// </summary>
46
46
public class AdminEventRepository ( TableServiceClient tableServiceClient , StorageAccountSettings storageAccountSettings ) : IAdminEventRepository
47
47
{
48
- private readonly TableServiceClient _tableServiceClient = tableServiceClient ;
49
- private readonly StorageAccountSettings _storageAccountSettings = storageAccountSettings ;
48
+ private readonly TableServiceClient _tableServiceClient = tableServiceClient ?? throw new ArgumentException ( nameof ( tableServiceClient ) ) ;
49
+ private readonly StorageAccountSettings _storageAccountSettings = storageAccountSettings ?? throw new ArgumentException ( nameof ( storageAccountSettings ) ) ;
50
50
51
51
/// <inheritdoc />
52
52
public async Task < AdminEventDetails > CreateEvent ( AdminEventDetails eventDetails )
You can’t perform that action at this time.
0 commit comments