mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:56:30 +00:00
bump ImageSharp version vulnerability fix
decouple Loader from Common dll fix current user url in api
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user