mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Don't cache MD5 searches
We don't have expiry for MD5 searches, so we won't cache them for now
This commit is contained in:
parent
c6b4155126
commit
9fad28f70a
@ -271,7 +271,7 @@ namespace Wabbajack.Lib.NexusApi
|
||||
public List<MD5Response> GetModInfoFromMD5(Game game, string md5Hash)
|
||||
{
|
||||
var url = $"https://api.nexusmods.com/v1/games/{GameRegistry.Games[game].NexusName}/mods/md5_search/{md5Hash}.json";
|
||||
return GetCached<List<MD5Response>>(url);
|
||||
return Get<List<MD5Response>>(url);
|
||||
}
|
||||
|
||||
public ModInfo GetModInfo(Game game, string modId)
|
||||
@ -370,4 +370,4 @@ namespace Wabbajack.Lib.NexusApi
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user