Skip to content

Commit 227cad9

Browse files
Fixed code styles
1 parent 26fe4b4 commit 227cad9

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

DocuSign.Workspaces/DocuSign.Workspaces/Domain/Workspaces/WealthManagementClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ private async Task<EnvelopeModel> UpdateEachEnvelopWithDocument(string envelopeI
147147
[
148148
new RecipientIdentityPhoneNumber
149149
{
150-
Number = "111888222",
151-
CountryCode = "+380",
150+
Number = "1115552222",
151+
CountryCode = "+1",
152152
}
153153
],
154154
}

DocuSign.Workspaces/DocuSign.Workspaces/Infrastructure/Extensions/DocuSignWebAppExtensions.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static void ConfigureDocuSignExceptionHandling(this IApplicationBuilder a
2828
{
2929
if (contextFeature.Error is ApiException apiError)
3030
{
31-
logger.LogError($"Error occured during Docusign api call: {contextFeature.Error}");
31+
logger.LogError($"Error occurred during Docusign api call: {contextFeature.Error}");
3232

3333
if (apiError.ErrorCode == (int)HttpStatusCode.Unauthorized)
3434
{
@@ -39,8 +39,9 @@ public static void ConfigureDocuSignExceptionHandling(this IApplicationBuilder a
3939
}
4040
else
4141
{
42-
logger.LogError($"Error occured: {contextFeature.Error}");
42+
logger.LogError($"Error occurred: {contextFeature.Error}");
4343
}
44+
4445
await context.Response.WriteAsync(new ErrorDetails
4546
{
4647
StatusCode = context.Response.StatusCode,

DocuSign.Workspaces/DocuSign.Workspaces/Infrastructure/Services/DocuSignApiProvider.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ public class DocuSignApiProvider : IDocuSignApiProvider
2323
private Lazy<IWorkspaceUsers> _workspaceUsers;
2424

2525
private Lazy<DocuSignClient> _apiClient => new (() => _docuSignClientsFactory.BuildDocuSignApiClient());
26-
private Lazy<HttpClient> _docuSignHttpClient => new (() => _docuSignClientsFactory.BuildHttpClient());
27-
private Lazy<SDKConfig> _docusingSdkConfig => new (() => _docuSignClientsFactory.BuildSdkConfig());
26+
private Lazy<HttpClient> _docusignHttpClient => new (() => _docuSignClientsFactory.BuildHttpClient());
27+
private Lazy<SDKConfig> _docusignSdkConfig => new (() => _docuSignClientsFactory.BuildSdkConfig());
2828

2929
public DocuSignApiProvider(IDocuSignClientsFactory docuSignClientsFactory)
3030
{
31-
_workspace2 = new Lazy<IWorkspaces2>(() => new Workspaces2(_docusingSdkConfig.Value));
32-
_workspaceUploadRequest = new Lazy<IWorkspaceUploadRequest>(() => new WorkspaceUploadRequest(_docusingSdkConfig.Value));
33-
_workspaceDocuments = new Lazy<IWorkspaceDocuments>(() => new WorkspaceDocuments(_docusingSdkConfig.Value));
34-
_workspaceUsers = new Lazy<IWorkspaceUsers>(() => new WorkspaceUsers(_docusingSdkConfig.Value));
31+
_workspace2 = new Lazy<IWorkspaces2>(() => new Workspaces2(_docusignSdkConfig.Value));
32+
_workspaceUploadRequest = new Lazy<IWorkspaceUploadRequest>(() => new WorkspaceUploadRequest(_docusignSdkConfig.Value));
33+
_workspaceDocuments = new Lazy<IWorkspaceDocuments>(() => new WorkspaceDocuments(_docusignSdkConfig.Value));
34+
_workspaceUsers = new Lazy<IWorkspaceUsers>(() => new WorkspaceUsers(_docusignSdkConfig.Value));
3535
_docuSignClientsFactory = docuSignClientsFactory;
3636
}
3737

@@ -45,6 +45,6 @@ public DocuSignApiProvider(IDocuSignClientsFactory docuSignClientsFactory)
4545
public IWorkspaceDocuments WorkspaceDocuments => _workspaceDocuments.Value;
4646
public IWorkspaceUsers WorkspaceUsers => _workspaceUsers.Value;
4747

48-
public HttpClient DocuSignHttpClient => _docuSignHttpClient.Value;
48+
public HttpClient DocuSignHttpClient => _docusignHttpClient.Value;
4949
}
5050
}

0 commit comments

Comments
 (0)