diff --git a/src/HuppyService/HuppyService.Service/Configuration/AppConfigurator.cs b/src/HuppyService/HuppyService.Service/Configuration/AppConfigurator.cs index eab2112..950f528 100644 --- a/src/HuppyService/HuppyService.Service/Configuration/AppConfigurator.cs +++ b/src/HuppyService/HuppyService.Service/Configuration/AppConfigurator.cs @@ -33,8 +33,8 @@ public async Task UseDatabaseMigrator() public void MapGrpcServices() { - _app.MapGrpcService(); - _app.MapGrpcService(); + _app?.MapGrpcService(); + _app?.MapGrpcService(); } } }