bump ImageSharp version vulnerability fix

decouple Loader from Common dll
fix current user url in api
This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-10-02 10:06:45 +03:00
parent 51248edbd3
commit e090f2d093
9 changed files with 76 additions and 27 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ public class AzaionApi(ILogger logger, HttpClient client, ICache cache, ApiCrede
get
{
var user = cache.GetFromCache(Constants.CURRENT_USER_CACHE_KEY,
() => Get<User>("currentUser"));
() => Get<User>("users/current"));
if (user == null)
throw new Exception("Can't get current user");
return user;