Skip to content

Commit

Permalink
T #98 nullable app
Browse files Browse the repository at this point in the history
  • Loading branch information
HueByte committed Sep 20, 2022
1 parent 9ea6731 commit 3377e54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public async Task UseDatabaseMigrator()

public void MapGrpcServices()
{
_app.MapGrpcService<GreeterService>();
_app.MapGrpcService<GPTService>();
_app?.MapGrpcService<GreeterService>();
_app?.MapGrpcService<GPTService>();
}
}
}

0 comments on commit 3377e54

Please sign in to comment.