Skip to content

Commit

Permalink
add explicit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ComputerElite committed May 17, 2024
1 parent 1c1423d commit fa9d9e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions OculusDB/ScrapingNodeCode/ScrapingNodeScraper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -395,14 +395,12 @@ public void Scrape(AppToScrape app)
message = e.ToString()
}, scrapingNodeId));
}

ObjectConverter.


DBAppImage? dbi = DownloadImage(dbApp);
if (dbi != null)
{
taskResult.scraped.imgs.Add(dbi);
taskResult.scraped.imgs.Add((DBAppImage)dbi);
}

taskResult.scraped.offers.AddRange(offers.Where(x => x != null).ToList().ConvertAll(x => (DBOffer)x));
Expand Down

0 comments on commit fa9d9e3

Please sign in to comment.