From b5cd215643f2551015fe86089d4f36338c778366 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 17 Jan 2023 22:05:24 +0900 Subject: [PATCH] Use AssemblyProduct rather than AssemblyTitle for default plugin name --- BTCPayServer.Abstractions/Models/BaseBTCPayServerPlugin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer.Abstractions/Models/BaseBTCPayServerPlugin.cs b/BTCPayServer.Abstractions/Models/BaseBTCPayServerPlugin.cs index 5ca3eb159..5f7c9e086 100644 --- a/BTCPayServer.Abstractions/Models/BaseBTCPayServerPlugin.cs +++ b/BTCPayServer.Abstractions/Models/BaseBTCPayServerPlugin.cs @@ -20,8 +20,8 @@ namespace BTCPayServer.Abstractions.Models get { return GetType().GetTypeInfo().Assembly - .GetCustomAttribute()? - .Title ?? string.Empty; + .GetCustomAttribute()? + .Product ?? "???"; } }