Skip to content

Commit 8c9f935

Browse files
reverted to original code
1 parent cb8ceab commit 8c9f935

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/Examples/OpenApiNSwagClientExample

src/Examples/OpenApiNSwagClientExample/Worker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,6 @@ private async Task SendOperationsRequestAsync(CancellationToken cancellationToke
166166
ApiResponse<OperationsResponseDocument> operationsResponse = await _apiClient.PostOperationsAsync(operationsRequest, cancellationToken);
167167

168168
var newTodoItem = (DataInTodoItemResponse)operationsResponse.Result.Atomic_results.ElementAt(3).Data!;
169-
Console.WriteLine($"Created todo-item with ID {newTodoItem.Id}: {newTodoItem.Attributes?.Description ?? string.Empty}.");
169+
Console.WriteLine($"Created todo-item with ID {newTodoItem.Id}: {newTodoItem.Attributes!.Description}.");
170170
}
171171
}

0 commit comments

Comments
 (0)