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:
Timothy Baldridge 2019-11-11 14:09:46 -07:00
parent c6b4155126
commit 9fad28f70a

View File

@ -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
}
}
}
}