Skip to content

Commit

Permalink
Update vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
carlst99 committed Jan 20, 2024
1 parent 1915cb9 commit 300d2f1
Show file tree
Hide file tree
Showing 3 changed files with 365 additions and 846 deletions.
6 changes: 3 additions & 3 deletions docs/docs/rest/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ by means of configuring a *named options* instance, so that the configured third

1. Create a `CensusQueryOptions` instance, and point it towards the alternative Census implementation:
```csharp
CensusQueryOptions falconQueryOptions = new()
CensusQueryOptions sanctuaryQueryOptions = new()
{
RootEndpoint = "https://census.lithafalcon.cc"
}
```

2. Then, simply pass in these options when creating a query builder.
```csharp
QueryBuilder builder = new(falconQueryOptions);
QueryBuilder builder = new(sanctuaryQueryOptions);
// OR
IQueryBuilder builder = _queryService.CreateQuery(falconQueryOptions);
IQueryBuilder builder = _queryService.CreateQuery(sanctuaryQueryOptions);
```
Loading

0 comments on commit 300d2f1

Please sign in to comment.