renamed(SmsParams): umbenannt in GtxMessagingParams

This commit is contained in:
Developer 02
2025-01-31 13:06:11 +01:00
parent 120c8623dd
commit 28fdf0a115
5 changed files with 26 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
using AutoMapper;
using DigitalData.Core.Abstractions.Client;
using DigitalData.Core.Client;
using EnvelopeGenerator.Application.Configurations.GtxMessaging;
using EnvelopeGenerator.Application.Configurations;
using EnvelopeGenerator.Application.Contracts;
using EnvelopeGenerator.Application.DTOs.Messaging;
using Microsoft.Extensions.Options;
@@ -11,15 +11,15 @@ namespace EnvelopeGenerator.Application.Services;
//TODO: move to DigitalData.Core
public class GTXSmsSender : ISmsSender
{
private readonly IHttpClientService<SmsParams> _smsClient;
private readonly IHttpClientService<GtxMessagingParams> _smsClient;
private readonly SmsParams _smsParams;
private readonly GtxMessagingParams _smsParams;
private readonly IMapper _mapper;
public string ServiceProvider { get; }
public GTXSmsSender(IHttpClientService<SmsParams> smsClient, IOptions<SmsParams> smsParamsOptions, IMapper mapper)
public GTXSmsSender(IHttpClientService<GtxMessagingParams> smsClient, IOptions<GtxMessagingParams> smsParamsOptions, IMapper mapper)
{
_smsClient = smsClient;
_smsParams = smsParamsOptions.Value;