Commit 360e60c6 authored by Clint.Network's avatar Clint.Network

Fixing convert rate for some cultures

parent 00acc1fb
......@@ -42,7 +42,7 @@ namespace Stratis.Guru.Controllers
dynamic coinmarketcap = JsonConvert.DeserializeObject(_memoryCache.Get("Coinmarketcap").ToString());
last24Change = coinmarketcap.data.quotes.USD.percent_change_24h / 100;
if (rqf.RequestCulture.UICulture.ThreeLetterISOLanguageName.Equals("eng"))
if (rqf.RequestCulture.UICulture.Name.Equals("en-US"))
{
displayPrice = coinmarketcap.data.quotes.USD.price;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment