Change assembly name constant spelling
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
2025-06-12 19:18:17 +02:00
parent ada0e2f665
commit 9847b6e6f7
2 changed files with 6 additions and 3 deletions

View File

@@ -29,10 +29,13 @@ public static class DependencyInjectionExtensions
private static IServiceCollection AddMiscellaneousServices(this IServiceCollection services)
{
var assemblyName = Assembly.GetExecutingAssembly()
services.AddSingleton(sp =>
{
var assemblyName = Assembly.GetExecutingAssembly()
.GetName()
.Name ?? "Vegasco.Server.Api";
services.AddSingleton(new ActivitySource(assemblyName));
return new ActivitySource(assemblyName);
});
services.AddResponseCompression();

View File

@@ -4,7 +4,7 @@ public static class Constants
{
public static class Projects
{
public const string Api = "Vegasco_Server_Api";
public const string Api = "Vegasco.Server.Api";
}
public static class Database