Skip to content

Commit

Permalink
Fix readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jones-dev committed Feb 16, 2022
1 parent 5c50570 commit aad27b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ var resultWithGlossary = await translator.TranslateTextAsync(

```c#
var usage = await translator.GetUsageAsync();
if (usage.AnyLimitExceeded) {
if (usage.AnyLimitReached) {
Console.WriteLine("Translation limit exceeded.");
} else if (usage.Character != null) {
Console.WriteLine($"Character usage: {usage.Character}");
Expand Down

0 comments on commit aad27b1

Please sign in to comment.