Skip to content

Commit

Permalink
Fix initialization problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswendt1 committed Aug 10, 2020
1 parent ad9d4a5 commit 4a2d160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TranslationServices.Core/TranslationServiceFacade.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static partial class TranslationServiceFacade
public static int Maxrequestsize { get => maxrequestsize; }
public static int Maxelements { get => maxelements; }
public static string AzureRegion { get; set; } = null;
public static string AzureCloud { get; set; } = null;
public static string AzureCloud { get; set; } = String.Empty;

public enum ContentType { plain, HTML };

Expand Down Expand Up @@ -286,7 +286,7 @@ private static async Task<bool> IsCategoryValidV3Async(string category)
/// </summary>
static TranslationServiceFacade()
{
Initialize(true);
LoadCredentials();
return;
}

Expand Down

0 comments on commit 4a2d160

Please sign in to comment.