Use AssemblyProduct rather than AssemblyTitle for default plugin name

This commit is contained in:
nicolas.dorier
2023-01-17 22:05:24 +09:00
parent 7604667b55
commit b5cd215643

View File

@@ -20,8 +20,8 @@ namespace BTCPayServer.Abstractions.Models
get
{
return GetType().GetTypeInfo().Assembly
.GetCustomAttribute<AssemblyTitleAttribute>()?
.Title ?? string.Empty;
.GetCustomAttribute<AssemblyProductAttribute>()?
.Product ?? "???";
}
}