Gmx V2 Prices (#8)
* Update prices api * Update worker services in Program.cs
This commit is contained in:
@@ -159,9 +159,9 @@ public class StatisticService : IStatisticService
|
||||
return _statisticRepository.GetTopVolumeTickers(from);
|
||||
}
|
||||
|
||||
public IList<Ticker> GetTickers()
|
||||
public async Task<IList<Ticker>> GetTickers()
|
||||
{
|
||||
return _evmManager.GetAvailableTicker().Result;
|
||||
return await _evmManager.GetAvailableTicker();
|
||||
}
|
||||
|
||||
public async Task UpdateSpotlight()
|
||||
@@ -199,7 +199,7 @@ public class StatisticService : IStatisticService
|
||||
await _statisticRepository.SaveSpotligthtOverview(overview);
|
||||
}
|
||||
|
||||
var tickers = GetTickers();
|
||||
var tickers = await GetTickers();
|
||||
|
||||
foreach (var scenario in scenarios)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user