Skip to content

Commit

Permalink
README.md - Add missing awaits (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinag authored and fszlin committed Jul 8, 2018
1 parent ee4a11e commit 804d04f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ before using production environment, to avoid hitting the
Creating new ACME account:
```C#
var acme = new AcmeContext(WellKnownServers.LetsEncryptStagingV2);
var account = acme.NewAccount("[email protected]", true);
var account = await acme.NewAccount("[email protected]", true);

// Save the account key for later use
var pemKey = acme.AccountKey.ToPem();
Expand All @@ -37,7 +37,7 @@ Use an existing ACME account:
// Load the saved account key
var accountKey = KeyFactory.FromPem(pemKey);
var acme = new AcmeContext(WellKnownServers.LetsEncryptStagingV2, accountKey);
var account = acme.Account();
var account = await acme.Account();
```

See [API doc](APIv2.md#acounts) for additional operations.
Expand Down

0 comments on commit 804d04f

Please sign in to comment.