diff --git a/EnvelopeGenerator.ReceiverUI/Services/SignatureService.cs b/EnvelopeGenerator.ReceiverUI/Services/DocReceiverElementService.cs similarity index 81% rename from EnvelopeGenerator.ReceiverUI/Services/SignatureService.cs rename to EnvelopeGenerator.ReceiverUI/Services/DocReceiverElementService.cs index 0955ed5b..34ef1916 100644 --- a/EnvelopeGenerator.ReceiverUI/Services/SignatureService.cs +++ b/EnvelopeGenerator.ReceiverUI/Services/DocReceiverElementService.cs @@ -6,13 +6,13 @@ using Microsoft.Extensions.Options; namespace EnvelopeGenerator.ReceiverUI.Services; -public class SignatureService(HttpClient http, IOptions apiOptions) +public class DocReceiverElementService(HttpClient http, IOptions apiOptions) { private static readonly JsonSerializerOptions _jsonOptions = new(JsonSerializerDefaults.Web); public async Task> GetAsync(string envelopeKey, CancellationToken cancel = default) { - var url = $"{apiOptions.Value.BaseUrl}/api/Signature/{Uri.EscapeDataString(envelopeKey)}"; + var url = $"{apiOptions.Value.BaseUrl}/api/DocReceiverElement/{Uri.EscapeDataString(envelopeKey)}"; var response = await http.GetAsync(url, cancel); if (!response.IsSuccessStatusCode)