Corrected and tested sample 3 fix (#28111)
parent
85e511d630
commit
7dbf2ef7b3
|
@ -18,7 +18,7 @@ namespace GrcpService
|
|||
{
|
||||
services.AddGrpc(options =>
|
||||
{
|
||||
options.Inteceptors.Add<LoggingInterceptor>();
|
||||
options.Interceptors.Add<LoggingInterceptor>();
|
||||
});
|
||||
services.AddSingleton<LoggingInterceptor>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue