mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 09:06:33 +00:00
add correct business exception handling
use <FrameworkReference Include="Microsoft.AspNetCore.App" /> instead of old nuget packages
This commit is contained in:
@@ -10,7 +10,7 @@ public class User
|
||||
|
||||
public UserConfig? UserConfig { get; set; } = null!;
|
||||
|
||||
public static string GetCacheKey(string email) =>
|
||||
public static string GetCacheKey(string? email) =>
|
||||
string.IsNullOrEmpty(email) ? "" : $"{nameof(User)}.{email}";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user