mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Run dotnet format (#3244)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace BTCPayServer
|
||||
{
|
||||
public static class EnumExtensions
|
||||
{
|
||||
public static string DisplayName(this Type enumType, string input) =>
|
||||
public static string DisplayName(this Type enumType, string input) =>
|
||||
enumType.GetMember(input).First().GetCustomAttribute<DisplayAttribute>()?.Name ?? input;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user