Skip to content

Commit

Permalink
Match async to awaits in example
Browse files Browse the repository at this point in the history
  • Loading branch information
i3arnon authored May 31, 2022
1 parent d63b38c commit ba714e1
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 @@ -142,7 +142,7 @@ public class User
```

```csharp
public ErrorOr<User> CreateUser(string name)
public async Task<ErrorOr<User>> CreateUserAsync(string name)
{
if (await _userRepository.GetAsync(name) is User user)
{
Expand Down

0 comments on commit ba714e1

Please sign in to comment.