Skip to content

Commit

Permalink
Fixed BCP services documentation (ChilliCream#6778)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Staib <michael@chillicream.com>
  • Loading branch information
PascalSenn and michaelstaib authored Dec 16, 2023
1 parent c9db44b commit 115a45e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/src/docs/bananacakepop/v2/bcp-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ var builder = WebApplication.CreateBuilder(args);
builder.Services
.AddGraphQLServer()
.AddQueryType<Query>()
.AddInstrumentation() // if you want to use telemetry
.AddBananaCakePopServices(x =>
{
x.ApiId = "VGhpcyBpcyBub3QgYSByZWFsIGFwaSBpZA==";
x.ApiKey = "Tm9wZSwgdGhpcyBpcyBhbHNvIG5vIHJlYWwga2V5IDspIA==";
x.Stage = "dev";
})
.UseOnlyPersistedQueriesAllowed() // optional
.UsePersistedQueryPipeline();
.UsePersistedQueryPipeline(); // if you want to use persisted queries
var app = builder.Build();

Expand Down

0 comments on commit 115a45e

Please sign in to comment.