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
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

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