diff --git a/website/src/docs/hotchocolate/v13/defining-a-schema/subscriptions.md b/website/src/docs/hotchocolate/v13/defining-a-schema/subscriptions.md index 1963b8d70a8..c7a6051c09a 100644 --- a/website/src/docs/hotchocolate/v13/defining-a-schema/subscriptions.md +++ b/website/src/docs/hotchocolate/v13/defining-a-schema/subscriptions.md @@ -104,7 +104,7 @@ public class SubscriptionType : ObjectType var receiver = context.Service(); ISourceStream stream = - await receiver.SubscribeAsync("bookAdded"); + await receiver.SubscribeAsync("bookAdded"); return stream; }); @@ -346,7 +346,7 @@ public class Subscription { public ValueTask> SubscribeToBooks( [Service] ITopicEventReceiver receiver) - => receiver.SubscribeAsync("ExampleTopic"); + => receiver.SubscribeAsync("ExampleTopic"); [Subscribe(With = nameof(SubscribeToBooks))] public Book BookAdded([EventMessage] Book book)