From 8ddb6d4b6ff3709cad4fb1a8b1055b81e71a5ceb Mon Sep 17 00:00:00 2001 From: Kukks Date: Mon, 5 Aug 2024 10:22:56 +0200 Subject: [PATCH] add grpc to btcpay --- BTCPayServer/App/BTCPayAppExtensions.cs | 1 + BTCPayServer/BTCPayServer.csproj | 1 + 2 files changed, 2 insertions(+) diff --git a/BTCPayServer/App/BTCPayAppExtensions.cs b/BTCPayServer/App/BTCPayAppExtensions.cs index 6dea5c9f2..7be3090bb 100644 --- a/BTCPayServer/App/BTCPayAppExtensions.cs +++ b/BTCPayServer/App/BTCPayAppExtensions.cs @@ -9,6 +9,7 @@ public static class BTCPayAppExtensions { public static IServiceCollection AddBTCPayApp(this IServiceCollection serviceCollection) { + serviceCollection.AddGrpc(); serviceCollection.AddSingleton(); serviceCollection.AddSingleton(); serviceCollection.AddHostedService(serviceProvider => serviceProvider.GetRequiredService()); diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index 6306f91a8..718eaf837 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -80,6 +80,7 @@ +