mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Use AssemblyProduct rather than AssemblyTitle for default plugin name
This commit is contained in:
parent
7604667b55
commit
b5cd215643
1 changed files with 2 additions and 2 deletions
|
@ -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 ?? "???";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue